Revision: 76868
http://sourceforge.net/p/brlcad/code/76868
Author: starseeker
Date: 2020-08-21 15:05:15 +0000 (Fri, 21 Aug 2020)
Log Message:
-----------
Including bu/parallel.h gets bu_exit behaving again, but not clear why.
Modified Paths:
--------------
brlcad/trunk/src/sig/dauto.c
Modified: brlcad/trunk/src/sig/dauto.c
===================================================================
--- brlcad/trunk/src/sig/dauto.c 2020-08-21 14:55:20 UTC (rev 76867)
+++ brlcad/trunk/src/sig/dauto.c 2020-08-21 15:05:15 UTC (rev 76868)
@@ -35,8 +35,8 @@
#include "bio.h"
#include "bu/app.h"
-#include "bu/log.h"
#include "bu/malloc.h"
+#include "bu/parallel.h"
#include "bu/exit.h"
@@ -56,10 +56,7 @@
bu_setprogname(argv[0]);
if (isatty(fileno(stdin)) || isatty(fileno(stdout))) {
- //TODO - bu_exit is bombing here - why?
- //bu_exit(1, "%s", usage);
- bu_log("%s", usage);
- return 1;
+ bu_exit(1, "%s", usage);
}
L = (argc > 1) ? atoi(argv[1]) : 512;
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
_______________________________________________
BRL-CAD Source Commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-commits