[rebase PATCH] Introduce --with-posix-shell configure flag.

2019-04-09 Thread Michael Haubenwallner
Some distros prefer a POSIX shell other than /bin/ash and /bin/dash. --- Makefile.in | 4 ++-- configure.ac | 22 +- peflagsall.in | 2 +- rebaseall.in | 2 +- 4 files changed, 21 insertions(+), 9 deletions(-) diff --git a/Makefile.in b/Makefile.in index e984070..34c468

[rebase PATCH] On error, avoid a close on the -1 file descriptor.

2019-04-09 Thread Michael Haubenwallner
--- rebase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; +ret

Re: [PATCH RFC] fork: reduce chances for "address space is already occupied" errors

2019-04-09 Thread Michael Haubenwallner
On 4/8/19 7:09 PM, Achim Gratz wrote: > Michael Haubenwallner writes: >> Well... once installed, a dll may get in use quickly, because I can not >> require >> to shut down all Cygwin processes. So I need to rebase and register the dll >> in >> some staging directory before it is installed into i