diff options
author | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2007-04-28 14:05:29 +0000 |
---|---|---|
committer | MANTANI Nobutaka <nobutaka@FreeBSD.org> | 2007-04-28 14:05:29 +0000 |
commit | 52af0eeb265e29e453757435b1c891bd10254b09 (patch) | |
tree | e3e936baab453e381c2ecb178b6dc06267ffd1f0 /sysutils/dd_rescue/files/patch-dd_rescue.c | |
parent | Cleanup ghostscript-gnu-commfont and related CJK font support meta ports. (diff) |
Update to 1.13.
PR: ports/111841
Submitted by: Eric P. Scott <eps+pbug0704@ana.com>
Diffstat (limited to 'sysutils/dd_rescue/files/patch-dd_rescue.c')
-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 |