make IPC_INFO visible to ipc system utilities only

Egor Duda deo@corpit.ru
Tue Jun 8 09:30:00 GMT 2004


Hi!

Currently IPC_INFO is defined whenever we include sys/sem.h, but struct
seminfo, which is returned by semctl(IPC_INFO) is defined only for
_KERNEL applications. This inconsistency breaks, for instance,
libmudflap builds. I believe there's no point to have IPC_INFO in
non-_KERNEL application as long as we can't get semctl(IPC_INFO) results
right anyway. Patch attached.

egor

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hide-ipc-info-def.ChangeLog
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20040608/21ad9367/attachment.ksh>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hide-ipc-info-def.diff
URL: <http://cygwin.com/pipermail/cygwin-patches/attachments/20040608/21ad9367/attachment-0001.ksh>


More information about the Cygwin-patches mailing list