X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;ds=sidebyside;f=rerere.c;h=29f95f657d04300e375d007e9d01832b89311602;hb=688cd6d2b9335f2ac20d02996215a0e6da1779b5;hp=87360dc23e54aabf47b3bda160e58058507d4a2f;hpb=a49eb197d809d2d7efbd81d935c61e1a0caa983e;p=git.git diff --git a/rerere.c b/rerere.c index 87360dc23..29f95f657 100644 --- a/rerere.c +++ b/rerere.c @@ -61,7 +61,7 @@ static int write_rr(struct string_list *rr, int out_fd) path = rr->items[i].string; length = strlen(path) + 1; if (write_in_full(out_fd, rr->items[i].util, 40) != 40 || - write_in_full(out_fd, "\t", 1) != 1 || + write_str_in_full(out_fd, "\t") != 1 || write_in_full(out_fd, path, length) != length) die("unable to write rerere record"); }