[OpenWrt-Devel] [PATCH] procd: reorder the arguments of command invocations

Gianluca Anzolin gianluca at sottospazio.it
Sun Jan 11 15:05:43 EST 2015


Il 11/01/2015 19:28, Felix Fietkau ha scritto:
> On 2015-01-11 14:09, Gianluca Anzolin wrote:
>> Il 11/01/2015 13:58, Gianluca Anzolin ha scritto:
>>> Il 11/01/2015 13:13, Felix Fietkau ha scritto:
>>>> It seems that musl git now supports argv permutation. I'm going to merge
>>>> the git changes since the last release soon.
>>>>
>>>> - Felix
>>> Fair enough, thank you.
>>>
>>> Gianluca
>> However I'm a bit worried that permutations are supported only for
>> getopt_long() not getopt().
>>
>>   From a cursory look at the source of busybox's tar and ubi-tools it
>> seems they use getopt_long() fortunately. But there are packages in
>> ubi-tools which use std getopt().
> Please test r43939 and check if the scripts work now.
>
> Thanks,
>
> - Felix
After an endless recompilation I can confirm that in r43939 sysupgrade 
works even without reording the arguments in /lib/upgrade/nand.sh

Thank you.

Gianluca
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list