1.0.42.6: fix os-provides-dladdr-test.c
authorNikodemus Siivola <nikodemus@random-state.net>
Tue, 31 Aug 2010 12:26:44 +0000 (12:26 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Tue, 31 Aug 2010 12:26:44 +0000 (12:26 +0000)
  For dladdr to be present in dlfcn.h, #define _GNU_SOURCE should be
  before any includes.

  Patch by Stas Boukarev.

NEWS
tools-for-build/os-provides-dladdr-test.c
version.lisp-expr

diff --git a/NEWS b/NEWS
index 7f8b07b..64ca237 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -7,6 +7,8 @@ changes relative to sbcl-1.0.42
     (lp#581564, thanks to Stas Boukarev)
   * bug fix: WRITE compiler macro did not handle output stream designators
     correctly. (lp#598374, thanks to Stas Boukarev)
+  * bug fix: better availability of names of foreign functions in backtraces
+    on Linux. (lp#626962, thanks to Stas Boukarev)
 
 changes in sbcl-1.0.42 relative to sbcl-1.0.41
   * build changes
index d7795b4..1c2ac45 100644 (file)
@@ -1,11 +1,10 @@
 /* test to build and run so that we know if we have dladdr
  */
 
-#include <stdlib.h>
-
 /* bloody FSF dlcfn.h won't give us dladdr without this */
 #define _GNU_SOURCE
 
+#include <stdlib.h>
 #include <dlfcn.h>
 
 int main ()
index 74234d3..6784b85 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.42.5"
+"1.0.42.6"