Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Nightly Builds
-
None
-
None
-
Operating System: other
Platform: Other
-
30431
Description
During testing, it's useful to enable assertions in a program, when it's run
under the daemon server. This is easy enough:
— commons-daemon/src/native/unix/native/arguments.c.orig 2004-08-02
20:08:39.063044304 +1200
+++ commons-daemon/src/native/unix/native/arguments.c 2004-08-02
20:08:39.063044304 +1200
@@ -169,6 +169,9 @@
} else if (strstr(argv[x],"-X")==argv[x])
else if (strstr(argv[x],"-ea")==argv[x])
{ + args->opts[args->onum++]=strdup(argv[x]); + } else if (strstr(argv[x],"-")==argv[x]) {
log_error("Invalid option %s",argv[x]);
return(NULL);