diff options
| author | nijtmans <nijtmans> | 2010-04-28 11:50:53 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-04-28 11:50:53 (GMT) |
| commit | e9a57d2250ddcad910557ba6f85eb9a1a4233d71 (patch) | |
| tree | d670f15c4e6711c3221297fd0c7137f4ae51d7ae /generic/tclEnv.c | |
| parent | e9ac546b4694c067d721aae18b9d75183fe5543d (diff) | |
| download | tcl-e9a57d2250ddcad910557ba6f85eb9a1a4233d71.zip tcl-e9a57d2250ddcad910557ba6f85eb9a1a4233d71.tar.gz tcl-e9a57d2250ddcad910557ba6f85eb9a1a4233d71.tar.bz2 | |
Remove unused @MAN2TCLFLAGS@
Move <limits.h> include from
tclInt.h to tclWinPort.h, and
eliminate unneeded <stdlib.h>, <stdio.h> and
<string.h>, which are already in tclInt.h
Move "tclInt.h" from regcustom.h
up to regex.h.
tclAlloc.c: Unneeded <stdio.h> include
tclExecute.c: Fix gcc warning: comparison between signed and unsigned
Diffstat (limited to 'generic/tclEnv.c')
| -rw-r--r-- | generic/tclEnv.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/generic/tclEnv.c b/generic/tclEnv.c index 87fb3d7..a64d38d 100644 --- a/generic/tclEnv.c +++ b/generic/tclEnv.c @@ -12,7 +12,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclEnv.c,v 1.42 2010/03/05 14:34:04 dkf Exp $ + * RCS: @(#) $Id: tclEnv.c,v 1.43 2010/04/28 11:50:54 nijtmans Exp $ */ #include "tclInt.h" @@ -755,13 +755,13 @@ TclCygwinPutenv( if (strcmp(name, "Path") == 0) { #ifdef __WIN32__ - SetEnvironmentVariable("PATH", NULL); + SetEnvironmentVariableA("PATH", NULL); #endif unsetenv("PATH"); } #ifdef __WIN32__ - SetEnvironmentVariable(name, value); + SetEnvironmentVariableA(name, value); #endif } else { char *buf; @@ -771,7 +771,7 @@ TclCygwinPutenv( */ #ifdef __WIN32__ - SetEnvironmentVariable("Path", NULL); + SetEnvironmentVariableA("Path", NULL); #endif unsetenv("Path"); @@ -786,7 +786,7 @@ TclCygwinPutenv( } #ifdef __WIN32__ - SetEnvironmentVariable(name, buf); + SetEnvironmentVariableA(name, buf); #endif } } |
