diff lib/args.c @ 90:7c77c6ec17ee

Add "make defconfig". Modify global options to start with CONFIG_TOYBOX_.
author Rob Landley <rob@landley.net>
date Wed, 31 Jan 2007 14:37:01 -0500
parents cd1f36a96185
children aa4fa2543a65
line wrap: on
line diff
--- a/lib/args.c	Wed Jan 31 14:18:05 2007 -0500
+++ b/lib/args.c	Wed Jan 31 14:37:01 2007 -0500
@@ -169,7 +169,8 @@
 
 				// Find the end of the longopt
 				for (end = ++options; *end && *end != ')'; end++);
-				if (CFG_DEBUG && !*end) error_exit("Unterminated optstring");
+				if (CFG_TOYBOX_DEBUG && !*end)
+					error_exit("Unterminated optstring");
 
 				// Allocate and init a new struct longopts
 				lo = xmalloc(sizeof(struct longopts));