Update select.c
Merge pull request #107 from qihuidan/master

Update select.c