From a29c23ccd23f2b711dd8c95f0f1757212f4a8dde Mon Sep 17 00:00:00 2001 From: Stelian Pop Date: Fri, 17 Dec 1999 10:14:27 +0000 Subject: [PATCH] Fix in the return code of dump when using the size estimate option. --- CHANGES | 10 +++++++--- THANKS | 5 +++-- dump/main.c | 4 ++-- 3 files changed, 12 insertions(+), 7 deletions(-) diff --git a/CHANGES b/CHANGES index 0e679b3..f808b45 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.25 1999/12/06 21:37:47 tiniou Exp $ +$Id: CHANGES,v 1.26 1999/12/17 10:14:27 tiniou Exp $ Changes between versions 0.4b11 and 0.4b12 (released ????????????????) ====================================================================== @@ -6,6 +6,10 @@ Changes between versions 0.4b11 and 0.4b12 (released ????????????????) 1. Small fix in the dump man page. Thanks to Thorsten Kukuk for submitting the patch. +2. Fix for the exit code when using the size estimate option of + dump. Thanks to Matti Taskinen for + submitting the patch. + Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999) ====================================================================== @@ -25,8 +29,8 @@ Changes between versions 0.4b10 and 0.4b11 (released December 5, 1999) asking to enter a new tape each time. 4. Fixed a memory leak which was causing dump to grow very big - (270MB when dumping a 10GB filesystem...). Thanks to Zaphod - Beeblebrox for reporting the bug. + (270MB when dumping a 10GB filesystem...). Thanks to Jason + Fearon for reporting the bug. Changes between versions 0.4b9 and 0.4b10 (released November 21, 1999) ====================================================================== diff --git a/THANKS b/THANKS index 08094fd..ff5f962 100644 --- a/THANKS +++ b/THANKS @@ -1,4 +1,4 @@ -$Id: THANKS,v 1.13 1999/12/06 21:37:47 tiniou Exp $ +$Id: THANKS,v 1.14 1999/12/17 10:14:27 tiniou Exp $ Dump and restore were written by the people of the CSRG at the University of California, Berkeley. @@ -22,10 +22,10 @@ Thanks to people who reported problems with the port, sent patches, and suggested various improvements. Here is a partial list of them (if I have forgotten someone, please complain): -Zaphod Beeblebrox zaphod@netrider.org.au Stephen Carr sgcarr@civeng.adelaide.edu.au Rob Cermak cermak@ahab.rutgers.edu Abhijit Dasgupta abhijit@ans.net +Jason Fearon jasonf@netrider.org.au Jeremy Fitzhardinge jeremy@goop.org Eirik Fuller eirik@netcom.com Henry Katz hkatz@hkatz.dialup.access.net @@ -43,6 +43,7 @@ Brent Olson night@halcyon.com Bernhard Sadlowski sadlowsk@Mathematik.Uni-Bielefeld.DE Chris Siebenmann cks@utcc.utoronto.ca Bob Snyder rsnyder@janet.advsys.com +Matti Taskinen mkt@rni.helsinki.fi Theodore Y. Ts'o tytso@mit.edu Stephen Tweedie sct@dcs.ed.ac.uk Daniel Veillard Daniel.Veillard@imag.fr diff --git a/dump/main.c b/dump/main.c index 263945a..3c56b84 100644 --- a/dump/main.c +++ b/dump/main.c @@ -40,7 +40,7 @@ #ifndef lint static const char rcsid[] = - "$Id: main.c,v 1.9 1999/11/22 19:08:50 tiniou Exp $"; + "$Id: main.c,v 1.10 1999/12/17 10:14:59 tiniou Exp $"; #endif /* not lint */ #include @@ -515,7 +515,7 @@ main(int argc, char *argv[]) if (sizest) { printf("%ld\n", tapesize + 10); - exit(X_STARTUP); + exit(X_FINOK); } /* stop here for size estimate */ if (pipeout || unlimited) { -- 2.39.2