diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2011-09-30 20:19:44 -0700 |
commit | fb391ffad2ccd5b76d6a87e4d2e83ff5282edee5 (patch) | |
tree | 506ee14bb61f2d21df84fc391a792f8a0ed496b7 /fd.c | |
parent | e259c7ec60a84280dbf7e2cf041a6fec79f53e1f (diff) | |
download | xscope-fb391ffad2ccd5b76d6a87e4d2e83ff5282edee5.tar.gz |
Remove StaticMaxFD now that all uses now allocate dynamically
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'fd.c')
-rw-r--r-- | fd.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -98,11 +98,6 @@ InitializeFD(void) if (MaxFD > FD_SETSIZE) { MaxFD = FD_SETSIZE; } - if (MaxFD > StaticMaxFD) - { - fprintf(stderr, "Recompile with larger StaticMaxFD value %d\n", MaxFD); - MaxFD = StaticMaxFD; - } /* allocate space for a File Descriptor (FD) Table */ FDD = calloc (MaxFD, sizeof (struct FDDescriptor)); |