diff options
Diffstat (limited to 'src/w32.c')
| -rw-r--r-- | src/w32.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -1562,7 +1562,7 @@ unsetenv (const char *name) | |||
| 1562 | if (name_len > 32767) | 1562 | if (name_len > 32767) |
| 1563 | { | 1563 | { |
| 1564 | errno = ENOMEM; | 1564 | errno = ENOMEM; |
| 1565 | return -1; | 1565 | return 0; |
| 1566 | } | 1566 | } |
| 1567 | /* It is safe to use 'alloca' with 32K size, since the stack is at | 1567 | /* It is safe to use 'alloca' with 32K size, since the stack is at |
| 1568 | least 2MB, and we set it to 8MB in the link command line. */ | 1568 | least 2MB, and we set it to 8MB in the link command line. */ |