(thanks to Chun Tian (binghe))
* improvement: the debugger now displays variables that have been closed
over, in code compiled with (DEBUG 2) or higher
+ * improvement: support for executable cores on NetBSD (thanks to
+ Richard Kreuter)
* bug fix: an error is signaled for attempts to use READ-SEQUENCE
for a (SIGNED-BYTE 8) stream and (UNSIGNED-BYTE 8) vector, or vice versa.
(thanks to Tony Martinez)
return NULL;
return copied_string(path);
}
-#else /* Not DARWIN or FREEBSD */
+#elif defined(LISP_FEATURE_NETBSD)
+char *
+os_get_runtime_executable_path()
+{
+ struct stat sb;
+ char *path = strdup("/proc/curproc/file");
+ if (path && ((stat(path, &sb)) == 0))
+ return path;
+ else {
+ fprintf(stderr, "Couldn't stat /proc/curproc/file; is /proc mounted?\n");
+ return NULL;
+ }
+}
+#else /* Not DARWIN or FREEBSD or NETBSD */
char *
os_get_runtime_executable_path()
{
;;; 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.1.8"
+"1.0.1.9"