search for: f4b25e9

Displaying 1 result from an estimated 1 matches for "f4b25e9".

Did you mean: 9f4b85e9
2014 Oct 14
1
[PATCH] diff: do not pad uid/gid in CSV mode
--- diff/diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/diff/diff.c b/diff/diff.c index f4b25e9..ad371b0 100644 --- a/diff/diff.c +++ b/diff/diff.c @@ -1108,7 +1108,7 @@ output_int64_uid (int64_t i) { next_field (); /* csv doesn't need escaping */ - if (printf ("%4" PRIi64, i) < 0) { + if (printf (csv ? "%" PRIi64 : "%4" PRIi64, i) < 0) {...