[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem experienced with ncurses-5.3-20030719-patch.sh (Cygwin)
From: |
Frank Heckenbach |
Subject: |
Re: Problem experienced with ncurses-5.3-20030719-patch.sh (Cygwin) |
Date: |
Sun, 19 Sep 2004 03:21:56 +0200 |
User-agent: |
semail 20040101 |
Thomas Dickey wrote:
> On Fri, 17 Sep 2004, Adrian Ford wrote:
>
> > I can't vouch if this problem would apply to other
> > flavours of Unix, but I would recommend one of two
> > approaches:
> >
> > 1. Have the patch script check for the existence of
> > "patch" and exit with non-zero status immediately with
> > an appropriate error message before performing any
> > actions
>
> or have the Cygwin packagers make the proper dependency checks (that's
> what packagers for other systems do).
While such a dependency check is certainly in order, I think it
wouldn't hurt for the patch script to check the exit status of patch
as well. Apart from a non-existent patch, other things could go
wrong when patching, and a non-zero status might indicate such
problems.
Frank
--
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
GnuPG and PGP keys: http://fjf.gnu.de/plan (7977168E)