delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com> |
List-Archive: | <http://sourceware.cygnus.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sourceware DOT cygnus DOT com> |
List-Help: | <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs> |
Sender: | cygwin-owner AT sourceware DOT cygnus DOT com |
Delivered-To: | mailing list cygwin AT sourceware DOT cygnus DOT com |
Message-ID: | <779F20BCCE5AD31186A50008C75D99791716D8@SILLDN_MAIL1> |
From: | "Fifer, Eric" <EFifer AT sanwaint DOT com> |
To: | "'Charles S. Wilson'" <cwilson AT ece DOT gatech DOT edu> |
Cc: | cygwin AT sourceware DOT cygnus DOT com |
Subject: | RE: Is there an alternative download site for IPC package? |
Date: | Thu, 17 Feb 2000 16:06:45 -0000 |
MIME-Version: | 1.0 |
X-Mailer: | Internet Mail Service (5.5.2448.0) |
------_=_NextPart_000_01BF7961.4BC0A72E Content-Type: text/plain; charset="iso-8859-1" Also, please apply my included patch. It moves a private structure definition from the public include/sys/sem.h (where g++ doesn't like it) into a private header. Thanks. Eric Fifer ------_=_NextPart_000_01BF7961.4BC0A72E Content-Type: application/octet-stream; name="cygipc.patch2" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="cygipc.patch2" diff -u -r cygipc-1.03.orig/include/IpcNtStr.h = cygipc-1.03/include/IpcNtStr.h=0A= --- cygipc-1.03.orig/include/IpcNtStr.h Sat Feb 05 07:42:28 2000=0A= +++ cygipc-1.03/include/IpcNtStr.h Thu Feb 17 15:56:11 2000=0A= @@ -68,7 +68,9 @@=0A= =0A= struct semid_ds *semary[SEMMNI];=0A= int state[SEMMNI] ;=0A= - struct current_nb current_nb[SEMMNI] ; + struct current_nb {=0A= + int current_nb[SEMOPM];=0A= + } current_nb[SEMMNI];=0A= =0A= int used_sems ;=0A= int used_semids ;=0A= diff -u -r cygipc-1.03.orig/include/sys/sem.h = cygipc-1.03/include/sys/sem.h=0A= --- cygipc-1.03.orig/include/sys/sem.h Sat Feb 05 07:42:23 2000=0A= +++ cygipc-1.03/include/sys/sem.h Thu Feb 17 15:52:53 2000=0A= @@ -96,12 +96,7 @@=0A= #define SEMAEM (SEMVMX >> 1) /* adjust on exit max value */=0A= #define SEMMAP SEMMNS /* # of entries in semaphore map */=0A= #define SEMUSZ 20 /* sizeof struct sem_undo */=0A= - -struct current_nb { - - int current_nb[SEMOPM] ; -} ; - +=0A= /* One semaphore structure for each semaphore in the system. */=0A= struct sem {=0A= short semval; /* current value */=0A= ------_=_NextPart_000_01BF7961.4BC0A72E Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com ------_=_NextPart_000_01BF7961.4BC0A72E--
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |