| 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 sources DOT redhat DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
| List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT sources DOT redhat DOT com |
| Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
| X-Envelope-Sender-Is: | Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de) |
| From: | "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru> |
| To: | "Cygwin mailing list" <Cygwin AT Sourceware DOT Cygnus DOT Com> |
| Subject: | PATCH: conflicting environ declaration in newlib's system.c |
| Date: | Fri, 25 Aug 2000 11:30:30 +0400 |
| Message-ID: | <000301c00e66$58944920$21c9ca95@mow.siemens.ru> |
| MIME-Version: | 1.0 |
| X-Priority: | 3 (Normal) |
| X-MSMail-Priority: | Normal |
| X-Mailer: | Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) |
| Importance: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400 |
This was fixed for unix case not not for Cygwin. I wonder, how it could
compile (in my case gcc reports declaration mismatch between this and
unistd.h)
regards
-andrej
Index: src/newlib/libc/stdlib/system.c
===================================================================
RCS file: /cvs/src/src/newlib/libc/stdlib/system.c,v
retrieving revision 1.2
diff -u -r1.2 system.c
--- system.c 2000/08/24 18:51:09 1.2
+++ system.c 2000/08/25 07:27:38
@@ -147,7 +147,7 @@
{
char *argv[4];
int pid, status;
- extern char *environ[];
+ extern char **environ;
argv[0] = "sh";
argv[1] = "-c";
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |