Fri Jun 7 10:13:00 GMT 2002
On Fri, Jun 07, 2002 at 12:35:10PM -0400, Robb, Sam wrote:
>[original message was to firstname.lastname@example.org]
>> With a little effort, I've managed to build a cygwin1.dll that exports
>> sem_getvalue(). The version of cygwin1.dll that I built seems subtly
>> hosed, though - while I can compile and run my test program from
>> within a Windows cmd.exe shell, trying to run bash or ls (and probably
>> a great many other things) hangs.
>Here's the patch... fairly straightforward, if I've understood the SUS
>spec for the function correctly :-/
>As for the apparent hangs in bash/ls/etc. - well, perhaps it was my
>patch, perhaps not, as I was building from latest cvs source. Since
>I can't find any documentation that indicates if a particular method
>for adding an export to cygiwn.din needs to be followed, this patch
>simply tacks sem_getvalue to the end of the list.
Btw, if you don't already have a form on file, we'll need an assignment
form for this patch. See http://cygwin.com/contrib.html .
More information about the Cygwin-patches