Commit 801eb822 authored by monty@hundin.mysql.fi's avatar monty@hundin.mysql.fi

Fixed usage of putenv() on windows (in not normally used code)

parent 87351da2
...@@ -242,7 +242,7 @@ static void my_win_init(void) ...@@ -242,7 +242,7 @@ static void my_win_init(void)
/* Inserisce i dati come variabili d'ambiente */ /* Inserisce i dati come variabili d'ambiente */
my_env=strdup(EnvString); /* variable for putenv must be allocated ! */ my_env=strdup(EnvString); /* variable for putenv must be allocated ! */
putenv(EnvString) ; putenv(my_env) ;
dimNameValueBuffer = dimName ; dimNameValueBuffer = dimName ;
dimDataValueBuffer = dimData ; dimDataValueBuffer = dimData ;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment