There is the following report in bugzilla (#97):

---------------------------------
On Redhat 8 at any rate, the TRANS_OPEN_MAX constant should be compiled to a
call to sysconf(), but is actually compiled into a default of 256. This breaks
my app, which for various reasons opens >256 file descriptors. As the kernel
default limit is 1024, the fact that Xlib has this value compiled in means the
app will randomly abort when 256 is reached. There is a test case for this that
I will attach.
----------------------------------

Anyway, sysconf() is only used if __GNU__ is defined.
However the appropriate sysconf() call seems to be
standard POSIX.1, therefore we should use some other
macro indicating that it should be used instead of 
a fixed value.

Any idea?

Egbert.

_______________________________________________
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel

Reply via email to