Fail in case arguments are provided after options.
* src/vipw.c: Fail in case arguments are provided after options. Debian#677812
This commit is contained in:
parent
0094abea6e
commit
9951b1f569
@ -1,3 +1,8 @@
|
|||||||
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
|
* src/vipw.c: Fail in case arguments are provided after options.
|
||||||
|
Debian#677812
|
||||||
|
|
||||||
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
2013-08-13 Nicolas François <nicolas.francois@centraliens.net>
|
||||||
|
|
||||||
* lib/subordinateio.c: Fix count for ranges truncated in
|
* lib/subordinateio.c: Fix count for ranges truncated in
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
Copyright (c) 1997 , Guy Maor <maor@ece.utexas.edu>
|
Copyright (c) 1997 , Guy Maor <maor@ece.utexas.edu>
|
||||||
Copyright (c) 1999 - 2000, Marek Michałkiewicz
|
Copyright (c) 1999 - 2000, Marek Michałkiewicz
|
||||||
Copyright (c) 2002 - 2006, Tomasz Kłoczko
|
Copyright (c) 2002 - 2006, Tomasz Kłoczko
|
||||||
Copyright (c) 2007 - 2011, Nicolas François
|
Copyright (c) 2007 - 2013, Nicolas François
|
||||||
All rights reserved.
|
All rights reserved.
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
@ -480,6 +480,10 @@ int main (int argc, char **argv)
|
|||||||
usage (E_USAGE);
|
usage (E_USAGE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (optind != argc) {
|
||||||
|
usage (E_USAGE);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (do_vipw) {
|
if (do_vipw) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user