This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [RFA/commit] Fix filestuff.c build error if RLIMIT_NOFILE not defined.


>>>>> "Joel" == Joel Brobecker <brobecker@adacore.com> writes:

Joel> Bordering on the obvious, I decided for an RFA, just in case, because
Joel> it relies on RLIMIT_NOFILE always being a marcro, POSIX does not seem
Joel> to require it. It seems to be true in practice, though, for all systems
Joel> I checked (Various flavors of GNU/Linux, including embedded ones,
Joel> Solaris, AIX, Lynx, etc).

It seems relatively ok to me.
To really fail the system would have to lack this #define and also lack
sysconf + _SC_OPEN_MAX.  And then the failure mode is just that gdb
works the way it always did in the past.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]