From: Stelian Pop Date: Sat, 11 Mar 2000 15:29:01 +0000 (+0000) Subject: Made the multi-volume dump work again... X-Git-Tag: release_0_4b16~1 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=24ea1fb9476491486fa7907bdaceb85f447149ff;p=dump.git Made the multi-volume dump work again... --- diff --git a/CHANGES b/CHANGES index 136f607..7d00da7 100644 --- a/CHANGES +++ b/CHANGES @@ -1,4 +1,4 @@ -$Id: CHANGES,v 1.52 2000/03/10 10:03:09 stelian Exp $ +$Id: CHANGES,v 1.53 2000/03/11 15:29:01 stelian Exp $ Changes between versions 0.4b15 and 0.4b16 (released ?????????????) =================================================================== @@ -26,6 +26,9 @@ Changes between versions 0.4b15 and 0.4b16 (released ?????????????) 5. Added the device name and the current volume number as arguments to the end of tape script (dump -F option). +6. Made the multi-volume dump work again (after having + broken it in 0.4b15). + Changes between versions 0.4b14 and 0.4b15 (released March 2, 2000) =================================================================== diff --git a/dump/tape.c b/dump/tape.c index 45828a5..925c088 100644 --- a/dump/tape.c +++ b/dump/tape.c @@ -40,7 +40,7 @@ #ifndef lint static const char rcsid[] = - "$Id: tape.c,v 1.17 2000/03/10 10:03:09 stelian Exp $"; + "$Id: tape.c,v 1.18 2000/03/11 15:29:01 stelian Exp $"; #endif /* not lint */ #ifdef __linux__ @@ -488,14 +488,13 @@ trewind(void) rmtclose(); } else -#else +#endif { (void) close(tapefd); while ((f = open(tape, 0)) < 0) sleep (10); (void) close(f); } -#endif eot_code = 1; if (eot_script) { msg("Launching %s\n", eot_script);