public inbox for
help / color / mirror / Atom feed
Subject: [rebase - The rebase tool, core of the automatic rebase facility during postinstall] branch master, updated. 7571020dc831618544c1b50d5f805c589f7385a0
Date: Wed, 10 Apr 2019 09:04:00 -0000	[thread overview]
Message-ID: <> (raw);h=7571020dc831618544c1b50d5f805c589f7385a0

commit 7571020dc831618544c1b50d5f805c589f7385a0
Author: Michael Haubenwallner <>
Date:   Tue Apr 9 11:03:42 2019 +0200

    On error, avoid a close on the -1 file descriptor.

 rebase.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/rebase.c b/rebase.c
index ca3c59d..56537d6 100644
--- a/rebase.c
+++ b/rebase.c
@@ -1441,7 +1441,7 @@ is_rebaseable (const char *pathname)
   fd = open (pathname, O_RDONLY);
   if (fd == -1)
-    goto done;
+    return status;
   offset = lseek (fd, pe_signature_offset_offset, SEEK_SET);
   if (offset == -1)

                 reply	other threads:[~2019-04-10  9:04 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).