- Adding the missing 'W' option back which was accidentally removed
in rev1.37. - Fixing a core dump inside build_iovec_argf by providing a !NULL format string to vsnprintf(3). Reviewed by: rodrigc
This commit is contained in:
parent
b05223a327
commit
62c7cb517a
@ -90,7 +90,7 @@ main(int argc, char **argv)
|
||||
|
||||
mntflags = set_gid = set_uid = set_mask = set_dirmask = 0;
|
||||
|
||||
while ((c = getopt(argc, argv, "sl9u:g:m:M:o:L:D:")) != -1) {
|
||||
while ((c = getopt(argc, argv, "sl9u:g:m:M:o:L:D:W:")) != -1) {
|
||||
switch (c) {
|
||||
case 's':
|
||||
build_iovec(&iov, &iovlen, "shortnames", NULL, (size_t)-1);
|
||||
@ -99,7 +99,7 @@ main(int argc, char **argv)
|
||||
build_iovec(&iov, &iovlen, "longnames", NULL, (size_t)-1);
|
||||
break;
|
||||
case '9':
|
||||
build_iovec_argf(&iov, &iovlen, "nowin95", NULL, (size_t)-1);
|
||||
build_iovec_argf(&iov, &iovlen, "nowin95", "", (size_t)-1);
|
||||
break;
|
||||
case 'u':
|
||||
uid = a_uid(optarg);
|
||||
|
Loading…
Reference in New Issue
Block a user