On Tue, Oct 09, 2001 at 01:45:48AM +0200, Bernhard R. Erdmann wrote:
> > This fixes catches some user-initiated interruptions that were previously
> > missed,
> > and fixes a coredump on linux.
>
> The coredump xfsrestore does when you stop feeding the pipe to |
> xfsrestore - . ?
Yes, I think the fix should address that. Although that's not the coredump
I observed: just ^C'ing it would cause a coredump as well. The underlying
problem is the dump/restore status needs to be initialised
(with a call to mlog_exit) from every exit() call in the code.
I missed a couple, and any of those exits() would dump. I've fixed
those up, and changed the code so that if the status is not setup correctly
it won't crash.
Let us know how it goes.
Andrew
--
Andrew Gildfind - R&D Software Engineer - SGI Melbourne Australia
email: ajag@xxxxxxx - work: +61.3.9834.8200 mobile: 0412.834.183
|