Revision: 77095
          http://sourceforge.net/p/brlcad/code/77095
Author:   starseeker
Date:     2020-09-09 22:50:57 +0000 (Wed, 09 Sep 2020)
Log Message:
-----------
One of the unit tests for bu_file failed on the Mac github runner using the 
system realpath.  Might be the test isn't valid, but we're right before release 
- just put back the internal version for now.

Modified Paths:
--------------
    brlcad/trunk/CMakeLists.txt

Modified: brlcad/trunk/CMakeLists.txt
===================================================================
--- brlcad/trunk/CMakeLists.txt 2020-09-09 20:33:35 UTC (rev 77094)
+++ brlcad/trunk/CMakeLists.txt 2020-09-09 22:50:57 UTC (rev 77095)
@@ -2937,10 +2937,10 @@
 endif(NOT HAVE_SNPRINTF)
 
 if(HAVE_REALPATH)
-  check_c_source_runs("#include<limits.h>\n#include <stdlib.h>\nint main() { 
char dir[PATH_MAX]; const char *d = \"/tmp/REALPATH_TEST_PATH\"; d = (const 
char *)realpath(d, dir); return 0; }" HAVE_WORKING_REALPATH)
-  if(HAVE_WORKING_REALPATH)
-    CONFIG_H_APPEND(BRLCAD "#define HAVE_WORKING_REALPATH 1\n")
-  endif(HAVE_WORKING_REALPATH)
+ #check_c_source_runs("#include<limits.h>\n#include <stdlib.h>\nint main() { 
char dir[PATH_MAX]; const char *d = \"/tmp/REALPATH_TEST_PATH\"; d = (const 
char *)realpath(d, dir); return 0; }" HAVE_WORKING_REALPATH)
+ #if(HAVE_WORKING_REALPATH)
+ #  CONFIG_H_APPEND(BRLCAD "#define HAVE_WORKING_REALPATH 1\n")
+ #endif(HAVE_WORKING_REALPATH)
 endif(HAVE_REALPATH)
 
 # GetFullPathName

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

Reply via email to