diff options
Diffstat (limited to 'sysutils/dd_rescue/files')
-rw-r--r-- | sysutils/dd_rescue/files/patch-dd_rescue.c | 21 |
1 files changed, 3 insertions, 18 deletions
diff --git a/sysutils/dd_rescue/files/patch-dd_rescue.c b/sysutils/dd_rescue/files/patch-dd_rescue.c index 72a1a20724cf..1f8493fa4232 100644 --- a/sysutils/dd_rescue/files/patch-dd_rescue.c +++ b/sysutils/dd_rescue/files/patch-dd_rescue.c @@ -1,21 +1,6 @@ ---- dd_rescue.c.orig Sun Jul 23 20:47:50 2006 -+++ dd_rescue.c Mon Feb 12 02:53:35 2007 -@@ -213,11 +213,13 @@ - - void savebb( int block ) - { -+ FILE *bbfile; -+ - fplog(stderr, "Bad block: %d\n", block); - - if( bbname == NULL ) - return; -- FILE *bbfile = fopen(bbname,"a"); -+ bbfile = fopen(bbname,"a"); - fprintf(bbfile,"%d\n",block); - fclose(bbfile); - } -@@ -742,7 +744,8 @@ +--- dd_rescue.c.orig Sun Mar 18 07:29:10 2007 ++++ dd_rescue.c +@@ -742,7 +742,8 @@ ipos = 0; #ifdef O_DIRECT |