Path: utzoo!attcan!uunet!mcvax!kth!draken!tut!santra!field!riku From: riku@field.FI (Riku Kalinen / Systems) Newsgroups: comp.unix.wizards Subject: Re: Need signal handler that will rename core file. Keywords: core, signals Message-ID: <82@field.FI> Date: 16 May 89 13:39:46 GMT References: <1436@prcrs.UUCP> Organization: Field OY, Helsinki, Finland Lines: 17 mcvic@prcrs.UUCP (David J. McVicar) writes: > How can a process, while handling a core dumping signal, leave >a core file in the current working directory (or other directory, if >possible) that is not named 'core'. ... Seems little impossible to me. I used the following workaround, though: When your process cathes something and thinks that it should dump core, do the following: -make directory named, say, core -cd to that directory -dump core Voila! -riku kalinen, field oy, helsinki, finland -riku@field.fi