cvs: php4 /ext/mysql/libmysql my_tempnam.c

From: Date: Fri, 23 Aug 2002 15:56:34 +0000
Subject: cvs: php4 /ext/mysql/libmysql my_tempnam.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-13602@lists.php.net to get a copy of this message
georg Fri Aug 23 11:56:34 2002 EDT Modified files: /php4/ext/mysql/libmysql my_tempnam.c Log: fixed bug #18643 Index: php4/ext/mysql/libmysql/my_tempnam.c diff -u php4/ext/mysql/libmysql/my_tempnam.c:1.5 php4/ext/mysql/libmysql/my_tempnam.c:1.6 --- php4/ext/mysql/libmysql/my_tempnam.c:1.5 Fri Jun 7 11:07:54 2002 +++ php4/ext/mysql/libmysql/my_tempnam.c Fri Aug 23 11:56:34 2002 @@ -96,13 +96,13 @@ old_env=(char**)environ; if (dir) { /* Don't use TMPDIR if dir is given */ - environ=(const char**)temp_env; /* May give warning */ + ((char **)environ)=(char**)temp_env; /* May give warning */ temp_env[0]=0; } #endif res=tempnam((char*) dir,(my_string) pfx); /* Use stand. dir with prefix */ #ifndef OS2 - environ=(const char**)old_env; /* May give warning */ + ((char**)environ)=(char**)old_env; /* May give warning */ #endif if (!res) DBUG_PRINT("error",("Got error: %d from tempnam",errno));

« previous php.cvs (#13602) next »