Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

packaging for Archlinux users #1

Open
GoogleCodeExporter opened this issue Apr 15, 2015 · 5 comments
Open

packaging for Archlinux users #1

GoogleCodeExporter opened this issue Apr 15, 2015 · 5 comments

Comments

@GoogleCodeExporter
Copy link

很酷的软件,谢谢。虽然我不懂你的代码,但是我已经打包��
� archlinux 
用户了,那里的社区很活跃,估计你能得到更好的反馈,建��
�和补丁。

http://aur.archlinux.org/packages.php?ID=52764

Original issue reported on code.google.com by [email protected] on 29 Sep 2011 at 8:08

@GoogleCodeExporter
Copy link
Author

thanks,我会努力把这个开源做好的

Original comment by [email protected] on 30 Sep 2011 at 2:20

@GoogleCodeExporter
Copy link
Author

file:select_server.c

52 void select_sever_del(int fd)
 53 {
 54     FD_CLR(fd,&read_set);
 55     max_fd = 0;
 56     int i = 0;
 57     for(i=0;i<fd_nums;i++)
 58     {
 59         if(valid_fds[i] == fd)
 60         {
 61             int j=i;
 62             while(j<fd_nums-1)
 63             {
 64                 valid_fds[j] = valid_fds[j+1];
 65                 if(valid_fds[j] > max_fd)
 66                 {
 67                     max_fd = valid_fds[j];
 68                 }
 69             }
 70             fd_nums--;
 71             break;
 72         }
 73         if(valid_fds[i] > max_fd)
 74         {
 75             max_fd = valid_fds[i];
 76         }
 77     }
 78 }

 62             while(j<fd_nums-1)
 63             {
 64                 valid_fds[j] = valid_fds[j+1];
 65                 if(valid_fds[j] > max_fd)
 66                 {
 67                     max_fd = valid_fds[j];
 68                 }
 69             }
这段代码存在bug.j没有自增,while循环不能正常结束.

Original comment by [email protected] on 10 Oct 2011 at 2:51

@GoogleCodeExporter
Copy link
Author

archlinux 已更新

Original comment by [email protected] on 12 Oct 2011 at 2:09

@GoogleCodeExporter
Copy link
Author

多谢各位的支持,版本已经放到github上面去了

Original comment by [email protected] on 31 Oct 2011 at 9:16

@GoogleCodeExporter
Copy link
Author

我会同时更新到google code和github

Original comment by [email protected] on 31 Oct 2011 at 9:16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant