Skip to content

Commit

Permalink
adding missing variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
gneumann committed May 6, 2008
1 parent 109d528 commit 2924b2f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nsd/tclfile.c
Expand Up @@ -34,7 +34,7 @@
* Tcl commands that do stuff to the filesystem. * Tcl commands that do stuff to the filesystem.
*/ */


static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nsd/tclfile.c,v 1.26 2008/04/24 07:13:40 gneumann Exp $, compiled: " __DATE__ " " __TIME__; static const char *RCSID = "@(#) $Header: /Users/dossy/Desktop/cvs/aolserver/nsd/tclfile.c,v 1.27 2008/05/06 07:43:08 gneumann Exp $, compiled: " __DATE__ " " __TIME__;


#include "nsd.h" #include "nsd.h"
#ifdef _WIN32 #ifdef _WIN32
Expand Down Expand Up @@ -579,6 +579,7 @@ NsTclTmpNamObjCmd(ClientData arg, Tcl_Interp *interp, int objc, Tcl_Obj *CONST o
the environment variable TMP is not set or points to a directory the environment variable TMP is not set or points to a directory
that does not exist. that does not exist.
*/ */
int i;
char *buf = _tempnam("/tmp", NULL); char *buf = _tempnam("/tmp", NULL);


if (buf == NULL) { if (buf == NULL) {
Expand Down

0 comments on commit 2924b2f

Please sign in to comment.