Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-be,v 1.1 2007/12/28 15:00:45 tron Exp $
--- src/Scheduler.c++.orig 2003-01-18 14:18:12.000000000 +0000
+++ src/Scheduler.c++ 2007-12-28 14:57:21.000000000 +0000
@@ -309,7 +309,7 @@
{
if (fds)
for (int fd = 0; fd < nfds; fd++)
- if (FD_ISSET(fd, fds))
+ if (FD_ISSET(fd, const_cast<fd_set *>(fds)))
{ FDInfo *fp = &fdinfo[fd];
assert(iotype == &FDInfo::read || iotype == &FDInfo::write);
(fp->*iotype).handler(fd, (fp->*iotype).closure);