From mboxrd@z Thu Jan 1 00:00:00 1970 From: Charles Wilson To: "Katherina O'Connor" Cc: cygwin@cygwin.com Subject: Re: Date: Wed, 17 Oct 2001 13:19:00 -0000 Message-id: <3BCDE7CC.8A03C1DF@ece.gatech.edu> References: <1003339534031140@firemail.de> X-SW-Source: 2001-10/msg00978.html Wait, why are you arguing with me? I *agreed* with David -- but pointed out that in the cygwin project, we try to model (a) standards, then (b) Linux, then (c) other things like solaris. To back up his argument, he gave me something from (c) -- whereas I said, okay fine, but a better authority is (something from (a)). I just don't have time to fix this myself. Patches welcome. --Chuck Katherina O'Connor wrote: > > Chuck, > > David is right, because almost all of the UNICES > with -let me say- a somewhat longer history than > Linux expecting the union (semun) to be declared > in the application. Therefore a simple > preprocesser directive around semun in sem.h > can help writing portable applications with > cygwin/linux. > > -Kathy > > David, > Thanks for the heads up. Note that "Sun doesn't do it that way" > isn't a very persuasive argument; "Linux doesn't..." or "SUSv2 says > that..." is more persuasive. Fortunately, you got me curious, and > indeed, SUSv2 agrees with Sun on this issue. > > http://www.opengroup.org/onlinepubs/007908799/xsh/semctl.html > > Unfortunately, I don't have time to track this down and fix it myself > right now. However, I'd be happy to accept a patch...as long as the > bundled apps were all modified to define semun. This includes > ipc-daemon, as well as semtool, shmtool, and msgtool. And the patch was > verified to work properly... > > --Chuck -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/