Skip to content

Commit 996cf87

Browse files
committed
Fix call to setenv() in unzip/bsdunzip.c
1 parent 28176a9 commit 996cf87

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

unzip/bsdunzip.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1116,7 +1116,7 @@ main(int argc, char *argv[])
11161116

11171117
#ifdef __GLIBC__
11181118
/* Prevent GNU getopt(3) from rearranging options. */
1119-
setenv("POSIXLY_CORRECT", "");
1119+
setenv("POSIXLY_CORRECT", "", 1);
11201120
#endif
11211121
/*
11221122
* Info-ZIP's unzip(1) expects certain options to come before the

0 commit comments

Comments
 (0)