openbsd-ports/games/sudognu/patches/patch-getopt_c

13 lines
367 B
Plaintext
Raw Normal View History

2009-04-05 14:59:39 -04:00
$OpenBSD: patch-getopt_c,v 1.4 2009/04/05 18:59:39 steven Exp $
--- getopt.c.orig Sat Mar 21 15:44:26 2009
+++ getopt.c Sun Apr 5 20:52:13 2009
@@ -83,7 +83,7 @@ int getoptions(int argc, char *argv[]) {
2009-03-08 04:37:06 -04:00
}
break;
case 't':
- nthread = sysconf(_SC_NPROCESSORS_ONLN);
+ nthread = 0;
break;
2008-05-23 16:36:29 -04:00
case 'f':
if (strlen(optarg) > MAX_STRLEN) {