[sac-dev] Patch to prevent an accidental close of the plotting window
Kuang He
icrazy at gmail.com
Wed Sep 10 14:31:25 PDT 2008
Hi all,
BUG: When a user accidentally closes the plotting window, SAC will crash.
$ sac
SEISMIC ANALYSIS CODE [09/04/2008 (Version 101.2)]
Copyright 1995 Regents of the University of California
SAC> fg seis
SAC> p
[ ... closing plotting window ... ]
SAC> Seismic Analysis Code (SAC): Fatal IO Error 11 (Resource
temporarily unavailable) on the X server
Attached please find a patch for SAC 101.2 (provided by George
Helffrich and adapted a little by me) to prevent this by disabling the
"X" (close window) button of the plotting window. To apply this patch:
$ cd /path/to/sac
$ patch -p1 < prevent-accidental-close-of-plotting-window.diff
Best regards,
--
Kuang He
Department of Physics
University of Connecticut
Storrs, CT 06269-3046
Tel: +1.860.486.4919
Web: http://www.phys.uconn.edu/~he/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prevent-accidental-close-of-plotting-window.diff
Type: application/octet-stream
Size: 1925 bytes
Desc: not available
URL: <http://www.iris.washington.edu/pipermail/sac-dev/attachments/20080910/dddc809f/attachment.obj>
More information about the sac-dev
mailing list