This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: pipes and spawn
- To: gnu-win32 at cygnus dot com
- Subject: Re: pipes and spawn
- From: Alain CULOS <ZAlain dot Culos at bigfoot dot com>
- Date: Sat, 30 May 1998 20:38:25 +0100
- Organization: http://homepage.tinet.ie/~alainjoanna/
- References: <5010400023382884000002L042*@MHS>
This strikes me, but I hope its only a mistake on your part :
Craig Setera wrote:
> int in[1], out[2];
> sprintf(args[1], "%d", in[1]);
Should be :
int i[2]
else how do you want to be able to access in[1] ?
and the call to pipe would corrupt something in memory if you give it a pointer to
one int only.
I hope this is it, if that was obvious, I have no other answer.
Al.
--
ANTI SPAM / ANTI ARROSAGE COMMERCIAL :
Pour me répondre, veuillez enlever le Z de mon adresse.
To answer me, please take out the Z from my address.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".