[pacman-dev] [PATCH] Added the function parse_options to replace getopt

Allan McRae allan at archlinux.org
Thu Nov 27 21:54:25 EST 2008


Yun Zheng Hu wrote:
> This will make makepkg work properly on systems like Mac OS X, where
> the default installed getopt does not handle long options.
>
> The new parse_options function tries to behave like the original
> getopt command as much as possible.
>
> see also:
> http://www.archlinux.org/pipermail/pacman-dev/2008-May/011830.html
>
> Signed-off-by: Yun Zheng Hu <yunzheng.hu at gmail.com>
>
>   

Just letting the submitter know that this patch is being looked at.  I 
have a getopt branch on my git repo where this will receive more testing 
before it gets pulled in.  From my current testing, it looks good and we 
seem to have lost no functionality.

Allan







More information about the pacman-dev mailing list