getopt returns -1
This commit is contained in:
parent
be4b074f6f
commit
3ab584ab7c
12
net/plushs/patches/patch-plushs_c
Normal file
12
net/plushs/patches/patch-plushs_c
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-plushs_c,v 1.1 2002/07/07 07:07:02 pvalchev Exp $
|
||||
--- plushs.c.orig Tue Jul 2 21:54:12 2002
|
||||
+++ plushs.c Sun Jul 7 00:49:59 2002
|
||||
@@ -372,7 +372,7 @@ main(argc, argv)
|
||||
|
||||
progname = argv[0];
|
||||
|
||||
- while ((opts = getopt(argc, argv, "cho:s:al:Dt:w:x:vmf:TP:")) != EOF) {
|
||||
+ while ((opts = getopt(argc, argv, "cho:s:al:Dt:w:x:vmf:TP:")) != -1) {
|
||||
switch (opts) {
|
||||
case 'c':
|
||||
pv.cflag = 1;
|
Loading…
Reference in New Issue
Block a user