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