Patches must not be changed by the vcs, this includes the svn:keyword expansion. Set fbsd:nokeywords to a couple of patches. With hat: portmgr Sponsored by: Absolight
11 lines
421 B
C++
11 lines
421 B
C++
--- vm/builtin/io.cpp.orig
|
|
+++ vm/builtin/io.cpp
|
|
@@ -165,7 +165,7 @@
|
|
|
|
// 1024 is selec't limit. If we try to set a value higher, it corrupts
|
|
// memory. YAY FD_SET!
|
|
- if(descriptor >= FD_SETSIZE) return -2;
|
|
+ if(descriptor >= (int_fd_t)FD_SETSIZE) return -2;
|
|
highest = descriptor > highest ? descriptor : highest;
|
|
|
|
if(descriptor >= 0) FD_SET((int_fd_t)descriptor, set);
|