openbsd-ports/math/sc/patches/patch-psc_c
weingart 18775fea0e Update to sc-7.16
ok pval@
2006-05-28 21:21:51 +00:00

13 lines
419 B
Plaintext

$OpenBSD: patch-psc_c,v 1.2 2006/05/28 21:21:51 weingart Exp $
--- psc.c.orig Thu May 4 10:08:27 2006
+++ psc.c Thu May 4 10:08:34 2006
@@ -73,7 +73,7 @@ main(int argc, char **argv)
register char *p;
progname = argv[0];
- while ((c = getopt(argc, argv, "rfLks:R:C:n:d:SPv")) != EOF) {
+ while ((c = getopt(argc, argv, "rfLks:R:C:n:d:SPv")) != -1) {
switch (c) {
case 'r':
colfirst = TRUE;