Changeset 10005 for trunk/src/msvcrt/environ.c
- Timestamp:
- Apr 10, 2003, 12:28:07 PM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/msvcrt/environ.c
r9633 r10005 23 23 #ifdef __WIN32OS2__ 24 24 #include <winbase.h> 25 #include <string.h> 25 26 #endif 26 27 … … 44 45 unsigned int length=strlen(name); 45 46 47 dprintf(("MSVCRT: %s",name)); 48 46 49 for (pp = environ; (*pp); pp = pp + strlen(pp) +1) 47 50 { … … 49 52 if ((pos) && ((pos - pp) == length)) 50 53 { 51 if (! strncasecmp(pp,name,length)) break;54 if (!_strnicmp(pp,name,length)) break; 52 55 } 53 56 } … … 71 74 MSVCRT_wchar_t* pp,*pos = NULL; 72 75 unsigned int length=strlenW(name); 76 77 dprintf(("MSVCRT: _wgetenv %s",debugstr_w(name))); 73 78 74 79 for (pp = environ; (*pp); pp = pp + strlenW(pp) + 1) … … 95 100 * _putenv (MSVCRT.@) 96 101 */ 97 int _putenv(const char *str)102 int MSVCRT__putenv(const char *str) 98 103 { 99 104 char name[256], value[512];
Note:
See TracChangeset
for help on using the changeset viewer.