bug-ncurses
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6


From: Frank Heckenbach
Subject: Re: Installation bug with tic (ncurses 5.1_20001004) under Solaris 2.6
Date: Mon, 9 Oct 2000 17:15:16 +0200

Thomas E. Dickey wrote:

> On Mon, 9 Oct 2000, Frank Heckenbach wrote:
> 
> > Thomas Dickey wrote:
> > > no - the problem is likely getopt, which (since it did work for me) has
> > > to be processing the -o option before /tmp/3783 on this box (Linux).
> > > That would be a bug in getopt.  Thanks.
> > 
> > It might be the difference that GNU getopt by default accepts
> > options and non-options in any order, while "traditional" getopt
> > implementations (Solaris probably) stop at the first non-option
> > (/tmp/3783). So,
> 
> ..which makes it (although in some sense "nicer") incompatible with the
> original getopt.  I've used (and written a few) programs that rely on the
> original behavior, though I'm using none currently.

True (though this statement was apparently relying on GNU getopt
behaviour ;-). GNU getopt behaves the traditional way if
POSIXLY_CORRECT is set, or optstring is prefixed with `+', BTW.

Frank

-- 
Frank Heckenbach, address@hidden
http://fjf.gnu.de/
PGP and GPG keys: http://fjf.gnu.de/plan



reply via email to

[Prev in Thread] Current Thread [Next in Thread]