Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 21312 Details for
Bug 34250
Problem with FD_SETSIZE using netcat
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change FD_SETSIZE from 16 to 1024
netcat.diff (text/plain), 691 bytes, created by
Frederic Mangeant
on 2003-11-26 06:08:00 UTC
(
hide
)
Description:
Change FD_SETSIZE from 16 to 1024
Filename:
MIME Type:
Creator:
Frederic Mangeant
Created:
2003-11-26 06:08:00 UTC
Size:
691 bytes
patch
obsolete
>--- netcat.c.orig 2003-11-26 15:00:04.000000000 +0100 >+++ netcat.c 2003-11-26 15:00:37.000000000 +0100 >@@ -48,7 +48,7 @@ > #ifdef FD_SETSIZE /* should be in types.h, butcha never know. */ > #undef FD_SETSIZE /* if we ever need more than 16 active */ > #endif /* fd's, something is horribly wrong! */ >-#define FD_SETSIZE 16 /* <-- this'll give us a long anyways, wtf */ >+#define FD_SETSIZE 1024 /* <-- this'll give us a long anyways, wtf */ > #include <sys/types.h> /* *now* do it. Sigh, this is broken */ > > #ifdef HAVE_RANDOM /* aficionados of ?rand48() should realize */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 34250
: 21312