On Wed, Sep 7, 2016 at 11:05 AM, Jim Meyering <j...@meyering.net> wrote: > On Wed, Sep 7, 2016 at 10:22 AM, Gisle Vanem <gva...@yahoo.no> wrote: >> Jim Meyering wrote: >> >>> +# elif HAVE_DECL___ARGV >>> + return last_component (__argv); >> >> This should be: >> return last_component (*__argv); >> >> Or with a bit more care: >> if (*__argv == NULL) >> return ("?"); >> return last_component (__argv); > > Thanks! > I fixed that and the copy/paste error mentioned below with a patch in > your name. Will push after you ACK. > >> And in the test: ...
> I've fixed that with a separate patch to make it use EXEEXT. Gisle ACK'd privately, so I've pushed those two commits. I have also pushed a grep commit updating it to use these fixed parts of gnulib.