public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
* [rebase - The rebase tool, core of the automatic rebase facility during postinstall] branch master, updated. 7571020dc831618544c1b50d5f805c589f7385a0
@ 2019-04-10  9:04 corinna
  0 siblings, 0 replies; only message in thread
From: corinna @ 2019-04-10  9:04 UTC (permalink / raw)
  To: cygwin-apps-cvs




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/rebase.git;h=7571020dc831618544c1b50d5f805c589f7385a0

commit 7571020dc831618544c1b50d5f805c589f7385a0
Author: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Date:   Tue Apr 9 11:03:42 2019 +0200

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


Diff:
---
 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)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2019-04-10  9:04 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-10  9:04 [rebase - The rebase tool, core of the automatic rebase facility during postinstall] branch master, updated. 7571020dc831618544c1b50d5f805c589f7385a0 corinna

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).