diff options
| author | das <das> | 2006-07-20 06:17:38 (GMT) | 
|---|---|---|
| committer | das <das> | 2006-07-20 06:17:38 (GMT) | 
| commit | f2a1ea5dbae4b3440723227e75a0c9da1d88ff93 (patch) | |
| tree | b705c8427d769d47111756d48dc62a7053128fac /unix/tclUnixPipe.c | |
| parent | 475cf649d6dfe709736b11ba805cba2827753363 (diff) | |
| download | tcl-f2a1ea5dbae4b3440723227e75a0c9da1d88ff93.zip tcl-f2a1ea5dbae4b3440723227e75a0c9da1d88ff93.tar.gz tcl-f2a1ea5dbae4b3440723227e75a0c9da1d88ff93.tar.bz2 | |
	* generic/regc_locale.c (cclass):
	* generic/tclExecute.c (TclExecuteByteCode):
	* generic/tclIOCmd.c (Tcl_ExecObjCmd):
	* generic/tclListObj.c (NewListIntRep):
	* generic/tclObj.c (Tcl_GetLongFromObj, Tcl_GetWideIntFromObj,
	                    FreeBignum, Tcl_SetBignumObj):
	* generic/tclParseExpr.c (Tcl_ParseExpr):
	* generic/tclStrToD.c (TclParseNumber):
	* generic/tclStringObj.c (TclAppendFormattedObjs):
	* unix/tclUnixPipe.c (TclpCreateProcess): fix signed-with-unsigned
	comparison and other warnings from gcc4 -Wextra.
Diffstat (limited to 'unix/tclUnixPipe.c')
| -rw-r--r-- | unix/tclUnixPipe.c | 7 | 
1 files changed, 4 insertions, 3 deletions
| diff --git a/unix/tclUnixPipe.c b/unix/tclUnixPipe.c index dc8087d..8a20bcc 100644 --- a/unix/tclUnixPipe.c +++ b/unix/tclUnixPipe.c @@ -10,7 +10,7 @@   * See the file "license.terms" for information on usage and redistribution of   * this file, and for a DISCLAIMER OF ALL WARRANTIES.   * - * RCS: @(#) $Id: tclUnixPipe.c,v 1.33 2006/03/27 18:08:51 andreas_kupries Exp $ + * RCS: @(#) $Id: tclUnixPipe.c,v 1.34 2006/07/20 06:17:39 das Exp $   */  #include "tclInt.h" @@ -395,7 +395,7 @@ TclpCreateProcess(  				 * process. */  {      TclFile errPipeIn, errPipeOut; -    int joinThisError, count, status, fd; +    int count, status, fd;      char errSpace[200 + TCL_INTEGER_SPACE];      Tcl_DString *dsArray;      char **newArgv; @@ -428,9 +428,10 @@ TclpCreateProcess(  	newArgv[i] = Tcl_UtfToExternalDString(NULL, argv[i], -1, &dsArray[i]);      } -    joinThisError = errorFile && (errorFile == outputFile);      pid = fork();      if (pid == 0) { +	int joinThisError = errorFile && (errorFile == outputFile); +  	fd = GetFd(errPipeOut);  	/* | 
