diff options
author | nijtmans <nijtmans@noemail.net> | 2010-04-28 11:50:52 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2010-04-28 11:50:52 (GMT) |
commit | 1f8f4c413259c50bce35edec87155b6d3bbf79b6 (patch) | |
tree | d670f15c4e6711c3221297fd0c7137f4ae51d7ae /generic/tclEnv.c | |
parent | e7f9455e2f9fee2e510d83a9ffdded75c88f586f (diff) | |
download | tcl-1f8f4c413259c50bce35edec87155b6d3bbf79b6.zip tcl-1f8f4c413259c50bce35edec87155b6d3bbf79b6.tar.gz tcl-1f8f4c413259c50bce35edec87155b6d3bbf79b6.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
FossilOrigin-Name: a8f2c2ec69d18aad61b138d4e1ca64ea2684a267
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 } } |