Didn't get a response when I sent this to the valhall-list so I was wondering if anybody here could answer the question...
I'm trying to compile an old application here and I stumbled onto this in the source code: /* getdtablesize() unfortunately does not really return the maximum number of open files per process under Linux libc 5.4.33. Since we have a much higher limit, it would just prevent users from logging in without any reason. Replaced it with the real limit. K.K. */ #define getdtablesize() 512 This breaks the source code since it conflicts with /usr/include/unistd.h gcc -DSYSTEM_LINUX -DLINUX -DGICS -UTIMESEAL -DSEEK -O -g -Wall \ -Wno-comment -c -o formula.o formula.c In file included from stdinclude.h:93, from command.h:29, from playerdb.h:26, from formula.h:5, from formula.c:53: /usr/include/unistd.h:857:31: macro "getdtablesize" passed 1 arguments, but takes just 0 make: *** [formula.o] Erreur 1 Does anybody know if the claim in the comment is true? What is the the maximum number of files a process can open these days (I believe it's 256 but I could be wrong)? Emmanuel -- redhat-list mailing list unsubscribe mailto:[EMAIL PROTECTED]?subject=unsubscribe https://listman.redhat.com/mailman/listinfo/redhat-list