Revision: 76884
http://sourceforge.net/p/brlcad/code/76884
Author: brlcad
Date: 2020-08-22 05:54:30 +0000 (Sat, 22 Aug 2020)
Log Message:
-----------
unable to reproduce, bu_exit() is working as intended on mac.
Modified Paths:
--------------
brlcad/trunk/src/sig/dauto.c
Modified: brlcad/trunk/src/sig/dauto.c
===================================================================
--- brlcad/trunk/src/sig/dauto.c 2020-08-22 05:19:27 UTC (rev 76883)
+++ brlcad/trunk/src/sig/dauto.c 2020-08-22 05:54:30 UTC (rev 76884)
@@ -35,9 +35,10 @@
#include "bio.h"
#include "bu/app.h"
-#include "bu/log.h"
+#include "bu/exit.h"
#include "bu/malloc.h"
+
int
main(int argc, char *argv[])
{
@@ -54,8 +55,7 @@
bu_setprogname(argv[0]);
if (isatty(fileno(stdin)) || isatty(fileno(stdout))) {
- 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