bug-cvs
[Top][All Lists]
Advanced

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

Re: [bug-gnulib] Re: getopt and Solaris 10


From: Matthias Kurz
Subject: Re: [bug-gnulib] Re: getopt and Solaris 10
Date: Tue, 10 May 2005 07:27:55 +0200
User-agent: Mutt/1.5.7i

On Mon, May 09, 2005, Paul Eggert wrote:

> Derek Price <address@hidden> writes:
> 
> 
> > +         myargv[[0]] = "conftest";
> > +         myargv[[1]] = "-+";
> 
> This doesn't null-terminate myargv.

D'oh !

> But I still don't get why the change is needed.  It sounds like you're
> assuming Solaris 11 getopt might get fixed?  But even in that case,
> the current code will work, right, since it will use GNU getopt?  So
> this is just an optimization for the hypothetical case if Solaris 11
> getopt gets fixed?  In that case perhaps we should wait for Solaris 11
> and test it before installing this patch, as it's more likely to cause
> a bug than to fix one.

Well, it might still fail on other OSes, that also do not use GNU getopt.
They do probably also not have the getopt_clip. I'll check this on IRIX,
today.


   (mk)

-- 
Matthias Kurz; Fuldastr. 3; D-28199 Bremen; VOICE +49 421 53 600 47
  >> Im prämotorischen Cortex kann jeder ein Held sein. (bdw) <<




reply via email to

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