On Jun 21, 2007, at 4:46 PM, Anders F Björklund wrote:
>> This causes spectacular failures like not finding "rpmq":
>> $ rpm -qa
>> rpm: -qa: Invalid argument
>> Downgrading to popt 1.10_4 again fixed it, will try to
>> figure out how to make the two co-exist... (rpm/popt)
> Found the reason for why it couldn't find any executable:
> char *s = malloc(strlen(con->execPath) + strlen(item->argv) +
> if (s)
> sprintf(s, "%s/%s", con->execPath, item->argv[-1]);
> Changing "argv[-1]" back to "argv" made it work again !
> Is this some kind of Darwin vs Linux issue, or just a bug ?
Looks like a thnko bug to me. I can't see a reason for the change.
73 de Jeff
Received on Thu Jun 21 22:58:20 2007