That looks like a reasonable fix.  Did you trace through all of the
callers of semaphore::_getvalue to make sure that some of them aren't
relying on the old behavior?

I did not look for other callers.

I just wrote a very simple test for sem_getvalue() and copied different cygwin1.dll versions to my test-application.
--

Kunysch, Paul
Software Development

emsys Embedded Systems GmbH
Werner von Siemens Str. 20
98693 Ilmenau
Germany

Tel.: +49 3677 68977-16   Fax: +49 3677 68977-19
E-Mail: paul.kuny...@emsys.de
Internet: www.emsys.de

CEO: Dr.-Ing. Karsten Pahnke
office: Ilmenau
Register of commerce in county court Jena: HRB 304988

Attachment: smime.p7s
Description: S/MIME Kryptografische Unterschrift

Reply via email to