Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com Message-ID: <3BCDE7CC.8A03C1DF@ece.gatech.edu> Date: Wed, 17 Oct 2001 16:19:24 -0400 From: Charles Wilson X-Mailer: Mozilla 4.7 [en] (X11; U; SunOS 5.8 sun4u) X-Accept-Language: en MIME-Version: 1.0 To: "Katherina O'Connor" CC: cygwin AT cygwin DOT com Subject: Re: References: <1003339534031140 AT firemail DOT de> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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/