X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=bundle.c;h=df95e151e2e82b48e4f15f2180838bf2d178f923;hb=a97a74686d70a318cd802003498054cc1e8b0ae2;hp=e4b2aa9c4a2a7fb52121828343aa27ab47d17279;hpb=59773c7e583b1dcf4b63c4ee222b79cef460456b;p=git.git diff --git a/bundle.c b/bundle.c index e4b2aa9c4..df95e151e 100644 --- a/bundle.c +++ b/bundle.c @@ -234,7 +234,7 @@ int create_bundle(struct bundle_header *header, const char *path, rls.git_cmd = 1; if (start_command(&rls)) return -1; - rls_fout = fdopen(rls.out, "r"); + rls_fout = xfdopen(rls.out, "r"); while (fgets(buffer, sizeof(buffer), rls_fout)) { unsigned char sha1[20]; if (buffer[0] == '-') {