Hello community, here is the log from the commit of package ddrescue checked in at Mon Mar 19 12:39:27 CET 2007. -------- --- ddrescue/ddrescue.changes 2006-11-07 02:03:16.000000000 +0100 +++ /mounts/work_src_done/STABLE/ddrescue/ddrescue.changes 2007-03-19 06:36:20.892624000 +0100 @@ -1,0 +2,7 @@ +Mon Mar 19 06:34:24 CET 2007 - garloff@suse.de + +- Update to dd_rescue-1.13: + * Write full block of '0' for read errors and non-seekable + output. (#255671) + +------------------------------------------------------------------- Old: ---- dd_rescue-1.12.tar.gz New: ---- dd_rescue-1.13.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ ddrescue.spec ++++++ --- /var/tmp/diff_new_pack.jI2009/_old 2007-03-19 12:38:43.000000000 +0100 +++ /var/tmp/diff_new_pack.jI2009/_new 2007-03-19 12:38:43.000000000 +0100 @@ -1,7 +1,7 @@ # -# spec file for package ddrescue (Version 1.12_0.0.6) +# spec file for package ddrescue (Version 1.13_0.0.6) # -# Copyright (c) 2006 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2007 SUSE LINUX Products GmbH, Nuernberg, Germany. # This file and all modifications and additions to the pristine # package are under the same license as the package itself. # @@ -11,11 +11,11 @@ # norootforbuild Name: ddrescue -%define ddrescuever 1.12 +%define ddrescuever 1.13 %define ddrhelpver 0.0.6 -Version: 1.12_0.0.6 -Release: 16 -License: GNU General Public License (GPL) - all versions +Version: 1.13_0.0.6 +Release: 1 +License: GNU General Public License (GPL) Group: System/Base Provides: dd_rescue Autoreqprov: on @@ -73,7 +73,11 @@ rm -rf $RPM_BUILD_ROOT rm -rf $RPM_BUILD_DIR/dd_rescue -%changelog -n ddrescue +%changelog +* Mon Mar 19 2007 - garloff@suse.de +- Update to dd_rescue-1.13: + * Write full block of '0' for read errors and non-seekable + output. (#255671) * Tue Nov 07 2006 - garloff@suse.de - dd_rhelp: head/tail require -n option (thanks to Bryant Ling) - dd_rhelp: Use -y0 if ddrescue is 1.12 or newer. ++++++ dd_rescue-1.12.tar.gz -> dd_rescue-1.13.tar.gz ++++++ diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dd_rescue/dd_rescue.c new/dd_rescue/dd_rescue.c --- old/dd_rescue/dd_rescue.c 2006-07-23 13:47:50.000000000 +0200 +++ new/dd_rescue/dd_rescue.c 2007-03-18 15:29:10.000000000 +0100 @@ -26,7 +26,7 @@ # define VERSION "(unknown)" #endif -#define ID "$Id: dd_rescue.c,v 1.52 2006/07/23 11:47:50 garloff Exp $" +#define ID "$Id: dd_rescue.c,v 1.55 2007/03/18 14:29:10 garloff Exp $" #ifndef SOFTBLOCKSIZE # define SOFTBLOCKSIZE 65536 @@ -211,14 +211,14 @@ } } -void savebb( int block ) +void savebb(int block) { + FILE *bbfile; fplog(stderr, "Bad block: %d\n", block); - - if( bbname == NULL ) + if (bbname == NULL) return; - FILE *bbfile = fopen(bbname,"a"); - fprintf(bbfile,"%d\n",block); + bbfile = fopen(bbname, "a"); + fprintf(bbfile, "%d\n", block); fclose(bbfile); } @@ -395,12 +395,12 @@ errno = 0; if (nosparse) { ssize_t wr = 0; - errs += ((wr = writeblock(rd)) < rd ? 1: 0); + errs += ((wr = writeblock(toread)) < toread ? 1: 0); if (wr < 0 && (errno == ENOSPC || (errno == EFBIG && !reverse))) return errs; - if (rd != wr) { - fplog(stderr, "dd_rescue: (warning): assumption rd(%i) == wr(%i) failed! \n", rd, wr); + if (toread != wr) { + fplog(stderr, "dd_rescue: (warning): assumption toread(%i) == wr(%i) failed! \n", toread, wr); /* fplog(stderr, "dd_rescue: (warning): %s (%.1fk): %s!\n", oname, (float)opos/1024, strerror(errno)); @@ -766,7 +766,7 @@ if (ides < 0) { fplog(stderr, "dd_rescue: (fatal): %s: %s\n", iname, strerror(errno)); cleanup(); exit(22); - }; + } /* Overwrite? */ /* Special case '-': stdout */ @@ -801,12 +801,19 @@ copyperm(ides, odes); check_seekable(ides, odes); + if (0 && i_chr && o_chr) { fprintf(stderr, "dd_rescue: (fatal): Sorry, there is no support yet for non-seekable\n"); fprintf(stderr, " input and output. This will hopefully change soon ... \n"); exit(19); } + if (o_chr) { + if (!nosparse) + fprintf(stderr, "dd_rescue: (warning): Don't use sparse writes for non-seekable output\n"); + nosparse = 1; sparse = 0; + } + /* special case: reverse with ipos == 0 means ipos = end_of_file */ if (reverse && ipos == 0) { ipos = lseek(ides, ipos, SEEK_END); diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dd_rescue/log new/dd_rescue/log --- old/dd_rescue/log 2006-07-23 13:46:39.000000000 +0200 +++ new/dd_rescue/log 1970-01-01 01:00:00.000000000 +0100 @@ -1,90 +0,0 @@ -dd_rescue: (warning): /dev/null (32768.0k): Invalid argument! -dd_rescue: (warning): /dev/null (65536.0k): Invalid argument! -dd_rescue: (warning): /dev/null (98304.0k): Invalid argument! -dd_rescue: (warning): /dev/null (131072.0k): Invalid argument! -dd_rescue: (warning): /dev/null (163840.0k): Invalid argument! -dd_rescue: (warning): /dev/null (196608.0k): Invalid argument! -dd_rescue: (fatal): Caught signal 2 "Interrupt". Exiting! -Summary for /dev/hda -> /dev/null: -dd_rescue: (warning): /dev/null (198400.0k): Invalid argument! -dd_rescue: (info): ipos: 198400.0k, opos: 198400.0k, xferd: 198400.0k - errs: 0, errxfer: 0.0k, succxfer: 198400.0k - +curr.rate: 32103kB/s, avg.rate: 48395kB/s, avg.load: 1.5% -dd_rescue: (warning): /dev/null (198400.0k): Invalid argument! -dd_rescue: (warning): /dev/null (32768.0k): Invalid argument! -dd_rescue: (warning): /dev/null (65536.0k): Invalid argument! -dd_rescue: (warning): /dev/null (98304.0k): Invalid argument! -dd_rescue: (warning): /dev/null (131072.0k): Invalid argument! -dd_rescue: (warning): /dev/null (163840.0k): Invalid argument! -dd_rescue: (warning): /dev/null (196608.0k): Invalid argument! -dd_rescue: (warning): /dev/null (229376.0k): Invalid argument! -dd_rescue: (warning): /dev/null (262144.0k): Invalid argument! -dd_rescue: (warning): /dev/null (294912.0k): Invalid argument! -dd_rescue: (fatal): Caught signal 2 "Interrupt". Exiting! -Summary for /dev/hda -> /dev/null: -dd_rescue: (warning): /dev/null (303552.0k): Invalid argument! -dd_rescue: (info): ipos: 303552.0k, opos: 303552.0k, xferd: 303552.0k - errs: 0, errxfer: 0.0k, succxfer: 303552.0k - +curr.rate: 34834kB/s, avg.rate: 106847kB/s, avg.load: 9.2% -dd_rescue: (warning): /dev/null (303552.0k): Invalid argument! -dd_rescue: (warning): /dev/null (32768.0k): Invalid argument! -dd_rescue: (warning): /dev/null (65536.0k): Invalid argument! -dd_rescue: (warning): /dev/null (98304.0k): Invalid argument! -dd_rescue: (warning): /dev/null (131072.0k): Invalid argument! -dd_rescue: (warning): /dev/null (163840.0k): Invalid argument! -dd_rescue: (warning): /dev/null (196608.0k): Invalid argument! -dd_rescue: (warning): /dev/null (229376.0k): Invalid argument! -dd_rescue: (warning): /dev/null (262144.0k): Invalid argument! -dd_rescue: (warning): /dev/null (294912.0k): Invalid argument! -dd_rescue: (warning): /dev/null (327680.0k): Invalid argument! -dd_rescue: (warning): /dev/null (360448.0k): Invalid argument! -dd_rescue: (warning): /dev/null (393216.0k): Invalid argument! -dd_rescue: (warning): /dev/null (425984.0k): Invalid argument! -dd_rescue: (warning): /dev/null (458752.0k): Invalid argument! -dd_rescue: (warning): /dev/null (491520.0k): Invalid argument! -dd_rescue: (warning): /dev/null (524288.0k): Invalid argument! -dd_rescue: (warning): /dev/null (557056.0k): Invalid argument! -dd_rescue: (warning): /dev/null (589824.0k): Invalid argument! -dd_rescue: (warning): /dev/null (622592.0k): Invalid argument! -dd_rescue: (warning): /dev/null (655360.0k): Invalid argument! -dd_rescue: (warning): /dev/null (688128.0k): Invalid argument! -dd_rescue: (warning): /dev/null (720896.0k): Invalid argument! -dd_rescue: (warning): /dev/null (753664.0k): Invalid argument! -dd_rescue: (fatal): Caught signal 2 "Interrupt". Exiting! -Summary for /dev/hda -> /dev/null: -dd_rescue: (warning): /dev/null (769984.0k): Invalid argument! -dd_rescue: (info): ipos: 769984.0k, opos: 769984.0k, xferd: 769984.0k - errs: 0, errxfer: 0.0k, succxfer: 769984.0k - +curr.rate: 34889kB/s, avg.rate: 62911kB/s, avg.load: 4.2% -dd_rescue: (warning): /dev/null (769984.0k): Invalid argument! -dd_rescue: (warning): /dev/null (32768.0k): Invalid argument! -dd_rescue: (warning): /dev/null (65536.0k): Invalid argument! -dd_rescue: (warning): /dev/null (98304.0k): Invalid argument! -dd_rescue: (warning): /dev/null (131072.0k): Invalid argument! -dd_rescue: (warning): /dev/null (163840.0k): Invalid argument! -dd_rescue: (warning): /dev/null (196608.0k): Invalid argument! -dd_rescue: (warning): /dev/null (229376.0k): Invalid argument! -dd_rescue: (warning): /dev/null (262144.0k): Invalid argument! -dd_rescue: (warning): /dev/null (294912.0k): Invalid argument! -dd_rescue: (warning): /dev/null (327680.0k): Invalid argument! -dd_rescue: (warning): /dev/null (360448.0k): Invalid argument! -dd_rescue: (warning): /dev/null (393216.0k): Invalid argument! -dd_rescue: (warning): /dev/null (425984.0k): Invalid argument! -dd_rescue: (warning): /dev/null (458752.0k): Invalid argument! -dd_rescue: (warning): /dev/null (491520.0k): Invalid argument! -dd_rescue: (warning): /dev/null (524288.0k): Invalid argument! -dd_rescue: (warning): /dev/null (557056.0k): Invalid argument! -dd_rescue: (warning): /dev/null (589824.0k): Invalid argument! -dd_rescue: (warning): /dev/null (622592.0k): Invalid argument! -dd_rescue: (warning): /dev/null (655360.0k): Invalid argument! -dd_rescue: (warning): /dev/null (688128.0k): Invalid argument! -dd_rescue: (warning): /dev/null (720896.0k): Invalid argument! -dd_rescue: (warning): /dev/null (753664.0k): Invalid argument! -dd_rescue: (warning): /dev/null (786432.0k): Invalid argument! -dd_rescue: (fatal): Caught signal 2 "Interrupt". Exiting! -Summary for /dev/hda -> /dev/null: -dd_rescue: (warning): /dev/null (796928.0k): Invalid argument! -dd_rescue: (info): ipos: 796928.0k, opos: 796928.0k, xferd: 796928.0k - errs: 0, errxfer: 0.0k, succxfer: 796928.0k - +curr.rate: 34187kB/s, avg.rate: 51593kB/s, avg.load: 3.3% -dd_rescue: (warning): /dev/null (796928.0k): Invalid argument! diff -urN --exclude=CVS --exclude=.cvsignore --exclude=.svn --exclude=.svnignore old/dd_rescue/Makefile new/dd_rescue/Makefile --- old/dd_rescue/Makefile 2006-07-23 13:47:50.000000000 +0200 +++ new/dd_rescue/Makefile 2007-03-18 15:26:18.000000000 +0100 @@ -1,8 +1,8 @@ # Makefile for dd_rescue # (c) garloff@suse.de, 99/10/09, GNU GPL -# $Id: Makefile,v 1.18 2006/07/23 11:47:50 garloff Exp $ +# $Id: Makefile,v 1.19 2007/03/18 14:23:51 garloff Exp $ -VERSION = 1.12 +VERSION = 1.13 DESTDIR = ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Remember to have fun... --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org