[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-gnulib] Re: getopt fix to prevent it from lying to the compiler abo
From: |
Simon Josefsson |
Subject: |
[Bug-gnulib] Re: getopt fix to prevent it from lying to the compiler about const |
Date: |
Mon, 15 Nov 2004 13:40:15 +0100 |
User-agent: |
Gnus/5.110003 (No Gnus v0.3) Emacs/21.3.50 (gnu/linux) |
Bruno Haible <address@hidden> writes:
> Separating getopt into getopt and getopt_permute (or getopt_reorder)
> indeed looks like the cleanest solution. In parallel with this split,
> getopt() would become POSIX compliant again, regardless of environment
> variables.
Horray!
> I don't see the need for getopt_long_permute and getopt_long_only_permute:
> GNU "owns" these interfaces; therefore you can use 'char **' in gnulib
> and hopefully also soon in libc.
According to getopt.m4, BSD has getopt_long. But that shouldn't stop
us from fixing it.