Re: Improvements to fork handling (2/5)

2011-05-23 Thread Corinna Vinschen
On May 22 14:42, Ryan Johnson wrote: > On 21/05/2011 9:44 PM, Christopher Faylor wrote: > >On Wed, May 11, 2011 at 02:31:37PM -0400, Ryan Johnson wrote: > >>Hi all, > >> > >>This patch has the parent sort its dll list topologically by > >>dependencies. Previously, attempts to load a DLL_LOAD dll ri

Re: __xpg_strerror_r should not clobber strerror buffer

2011-05-23 Thread Eric Blake
On 05/21/2011 07:35 PM, Christopher Faylor wrote: > On Sat, May 21, 2011 at 07:26:37PM -0600, Eric Blake wrote: >> POSIX says that no other function in the standard should clobber the >> strerror buffer. Our strerror_r is a GNU extension, so it can get away >> with clobbering the buffer (but if we

Re: __xpg_strerror_r should not clobber strerror buffer

2011-05-23 Thread Eric Blake
On 05/23/2011 02:45 PM, Eric Blake wrote: > On 05/21/2011 07:35 PM, Christopher Faylor wrote: >> On Sat, May 21, 2011 at 07:26:37PM -0600, Eric Blake wrote: >>> POSIX says that no other function in the standard should clobber the >>> strerror buffer. Our strerror_r is a GNU extension, so it can ge

Re: __xpg_strerror_r should not clobber strerror buffer

2011-05-23 Thread Christopher Faylor
On Mon, May 23, 2011 at 02:45:43PM -0600, Eric Blake wrote: >Just for the record, I'm having a problem self-building cygwin right >now, from what looks like mingw issues: > >/home/eblake/src/winsup/utils/mingw gcc-4 -B./ -shared >-Wl,--image-base,0x6FBC -Wl,--entry,_DllMainCRTStartup@12 mthr.o

Re: __xpg_strerror_r should not clobber strerror buffer

2011-05-23 Thread Christopher Faylor
On Mon, May 23, 2011 at 02:52:12PM -0600, Eric Blake wrote: >On 05/23/2011 02:45 PM, Eric Blake wrote: >> On 05/21/2011 07:35 PM, Christopher Faylor wrote: >>> On Sat, May 21, 2011 at 07:26:37PM -0600, Eric Blake wrote: POSIX says that no other function in the standard should clobber the

fix perror POSIX compliance

2011-05-23 Thread Eric Blake
This depends on the newlib patch: http://sourceware.org/ml/newlib/2011/msg00215.html In fact, if that patch goes in, then this one is required to avoid a link failure; this one can probably go in first but makes no difference to perror without the newlib patch. winsup/cygwin/ChangeLog|6