Re: [PATCH] Export strchrnul (pending newlib patch)

2011-03-28 Thread Corinna Vinschen
On Mar 27 22:38, Yaakov (Cygwin/X) wrote: > Here's the Cygwin patch to export strchrnul(3) once accepted in newlib. > > > Yaakov > > 2011-03-27 Yaakov Selkowitz > > * cygwin.din (strchrnul): Export. > * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. > * posix.sgm

Re: [PATCH] Export strchrnul (pending newlib patch)

2011-03-28 Thread Christopher Faylor
On Sun, Mar 27, 2011 at 10:38:16PM -0500, Yaakov (Cygwin/X) wrote: >Here's the Cygwin patch to export strchrnul(3) once accepted in newlib. Cygwin already has an implementation of this named strechr written in assembly language. Maybe we should be exporting that. cgf

Re: [PATCH] Export strchrnul (pending newlib patch)

2011-03-28 Thread Corinna Vinschen
On Mar 28 10:48, Christopher Faylor wrote: > On Sun, Mar 27, 2011 at 10:38:16PM -0500, Yaakov (Cygwin/X) wrote: > >Here's the Cygwin patch to export strchrnul(3) once accepted in newlib. > > Cygwin already has an implementation of this named strechr written in > assembly language. Maybe we should

[PATCH] Fix return value and errno set by sem_init(), sem_destroy() and sem_close()

2011-03-28 Thread Jon TURNEY
While looking into some mysterious failures of sem_init() in python, I was somewhat surprised to find the following comment in python/thread_pthread.h: > /* > * As of February 2002, Cygwin thread implementations mistakenly report error > * codes in the return value of the sem_ calls (like the p

Re: [PATCH] Fix return value and errno set by sem_init(), sem_destroy() and sem_close()

2011-03-28 Thread Christopher Faylor
On Mon, Mar 28, 2011 at 11:14:03PM +0100, Jon TURNEY wrote: > >While looking into some mysterious failures of sem_init() in python, I was >somewhat surprised to find the following comment in python/thread_pthread.h: > >> /* >> * As of February 2002, Cygwin thread implementations mistakenly report