http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=27821
User: guy
Date: 2009/03/22 11:06 AM
Log:
Sigh.
dladdr() in GNU libc isn't available (<dlfcn.h> doesn't define Dl_info)
unless _GNU_SOURCE is defined.
In addition, it's not guaranteed to return anything more useful than
argv[0]; just in case that changes at some point in the future, however,
we still use it, we just run it through the same machinery that we run
argv[0] through. (On Mac OS X, for example, the path of the executable
is handed to the run-time linker by the kernel, so it *is* useful
there.)
Directory: /trunk/epan/
Changes Path Action
+18 -14 filesystem.c Modified
Directory: /trunk/
Changes Path Action
+20 -18 configure.in Modified