Commit 2c0e31cf authored by Alexandre Julliard's avatar Alexandre Julliard

kernel32: Treat PWD as a special environment variable.

parent fd0efd92
...@@ -119,6 +119,7 @@ static inline int contains_path( LPCWSTR name ) ...@@ -119,6 +119,7 @@ static inline int contains_path( LPCWSTR name )
static inline int is_special_env_var( const char *var ) static inline int is_special_env_var( const char *var )
{ {
return (!strncmp( var, "PATH=", sizeof("PATH=")-1 ) || return (!strncmp( var, "PATH=", sizeof("PATH=")-1 ) ||
!strncmp( var, "PWD=", sizeof("PWD=")-1 ) ||
!strncmp( var, "HOME=", sizeof("HOME=")-1 ) || !strncmp( var, "HOME=", sizeof("HOME=")-1 ) ||
!strncmp( var, "TEMP=", sizeof("TEMP=")-1 ) || !strncmp( var, "TEMP=", sizeof("TEMP=")-1 ) ||
!strncmp( var, "TMP=", sizeof("TMP=")-1 )); !strncmp( var, "TMP=", sizeof("TMP=")-1 ));
......
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