From 52af0eeb265e29e453757435b1c891bd10254b09 Mon Sep 17 00:00:00 2001 From: MANTANI Nobutaka Date: Sat, 28 Apr 2007 14:05:29 +0000 Subject: Update to 1.13. PR: ports/111841 Submitted by: Eric P. Scott --- sysutils/dd_rescue/files/patch-dd_rescue.c | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) (limited to 'sysutils/dd_rescue/files/patch-dd_rescue.c') 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 -- cgit v1.2.3