Robert Dodier writes:
> it has been reported that in some circumstances xmaxima kills off
> everything when it closes.
> http://sourceforge.net/tracker/index.php?func=detail&aid=1276259&group_id=4933&atid=104933
> there is also a bug report in the fedora bug tracker:
> https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=168451
I think that 'Comment #10 From Rex Dieter' in the fedora bug tracker
shows that the bug was caused by an old version preceding
revision 1.10
date: 2005/03/30 17:14:50; author: wjenkner; state: Exp; lines: +2 -1
(getpid): CVS Clisp has PROCESS-ID instead of PROGRAM-ID.
(See Clisp ChangeLog 2005-03-01)
`getpid-from-environment' is for non-Unix-like systems, so, if we are
trying to be absolutely paranoid, I'd suggest to do something like
Index: server.lisp
===================================================================
RCS file: /cvsroot/maxima/maxima/src/server.lisp,v
retrieving revision 1.10
diff -u -r1.10 server.lisp
--- server.lisp 30 Mar 2005 17:14:50 -0000 1.10
+++ server.lisp 23 Sep 2005 20:46:26 -0000
@@ -66,6 +66,8 @@
#-gcl
(defun getpid-from-environment ()
+ (when (memq :unix *features*)
+ (error "GETPID-FROM-ENVIRONMENT on Unix? Please report."))
(handler-case
(values (parse-integer (maxima-getenv "PID")))
((or type-error parse-error) () -1)))
Wolfgang