public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* PATCH: conflicting environ declaration in newlib's system.c
@ 2000-08-25  0:31 Andrej Borsenkow
  0 siblings, 0 replies; only message in thread
From: Andrej Borsenkow @ 2000-08-25  0:31 UTC (permalink / raw)
  To: Cygwin mailing list

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@sourceware.cygnus.com

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-08-25  0:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-08-25  0:31 PATCH: conflicting environ declaration in newlib's system.c Andrej Borsenkow

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).