OSDN Git Service

apply --numstat -z: line termination fix.
authorJunio C Hamano <junkio@cox.net>
Thu, 12 Oct 2006 09:57:39 +0000 (02:57 -0700)
committerJunio C Hamano <junkio@cox.net>
Thu, 12 Oct 2006 09:57:39 +0000 (02:57 -0700)
Signed-off-by: Junio C Hamano <junkio@cox.net>
builtin-apply.c

index de5f855..e3ef044 100644 (file)
@@ -2112,7 +2112,7 @@ static void numstat_patch_list(struct patch *patch)
                        quote_c_style(name, NULL, stdout, 0);
                else
                        fputs(name, stdout);
-               putchar('\n');
+               putchar(line_termination);
        }
 }