Thu Jun 7 18:39:00 GMT 2001
I checked into this. sysconf() is returning the current size of the
fd table. The fd table starts at 32 and is extended as needed.
I don't know what sysconf should return, actually. The number of
possible fds is obviously not infinite but it is pretty large. Perhaps
we should just return an arbitrary large number like 4096 or something.
On Thu, Jun 07, 2001 at 08:06:30PM -0400, Suhaib Siddiqi wrote:
>For me 255 was enough ;-)
>> -----Original Message-----
>> From: Robert Collins [ mailto:email@example.com ]
>> Sent: Thursday, June 07, 2001 8:04 PM
>> To: Suhaib Siddiqi; firstname.lastname@example.org
>> Subject: Re: sysconf(_SC_OPEN_MAX) limit
>> I think it's newlib that provides sysconf....
>> I'll see if I have time this weekend to dig into where the 32 is coming
>> from. 8192 /16384 sound good for the value returned?
>> ----- Original Message -----
>> From: "Suhaib Siddiqi" <email@example.com>
>> To: <firstname.lastname@example.org>
>> Sent: Friday, June 08, 2001 9:56 AM
>> Subject: sysconf(_SC_OPEN_MAX) limit
>> > According to private communication with Chris, Cygwin has no fd limit.
>> > However, we have a sysconf(_SC_OPEN_MAX) issue for Cygwin/XFree86:
>> > why sysconf(_SC_OPEN_MAX) only returns 32 then. XFree86 returns errors
>> > max limit is hit. One way to over come this is to hack the
>> connections.c in
>> > Xfree86, However, shouldn't
>> > this be bumped up in the Cygwin rather than making changes in source
>> > outside of
>> > it. Maybe other people will come across the same problem in other
>> > applications.
>> > --
>> > Want to unsubscribe from this list?
>> > Check out: http://cygwin.com/ml/#unsubscribe-simple
>Want to unsubscribe from this list?
>Check out: http://cygwin.com/ml/#unsubscribe-simple
email@example.com Red Hat, Inc.
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin