bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] argp-help and program name


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] argp-help and program name
Date: Fri, 09 Dec 2005 12:21:29 EET

Eric Blake <address@hidden> wrote:

> Further looking at the argp-help module shows that tries using
> strrchr(program_invocation_name, '/') which is not portable

Yes, and yet another function that assumes '/' as the directory
separator is argp_parser. While argp-help can be tweaked to use
base_name, it is harder to do so in argp_parser, since that would
imply the necessity to free state->name afterwards. Allow me some
time to work out the solution.

Regards,
Sergey




reply via email to

[Prev in Thread] Current Thread [Next in Thread]