Update select.c by zhaoyanqi