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

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

parent 87351da2
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -242,7 +242,7 @@ static void my_win_init(void)

    /* Inserisce i dati come variabili d'ambiente */
    my_env=strdup(EnvString);  /* variable for putenv must be allocated ! */
    putenv(EnvString) ;
    putenv(my_env) ;

    dimNameValueBuffer = dimName ;
    dimDataValueBuffer = dimData ;