> > 2006-02-08 Jim Meyering <[EMAIL PROTECTED]> > > * src/tar.c (tar_set_quoting_style): Add program_name argument, > corresponding to unmatched %s in format string.
Sergey, your replacement patch fails on non-glibc platforms: make[2]: Entering directory `/home/eblake/tar/src' if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I../lib -I../ -I../lib -g -O2 -MT tar.o -MD -MP -MF ".deps/tar.Tpo" -c -o tar.o tar.c; \ then mv -f ".deps/tar.Tpo" ".deps/tar.Po"; else rm -f ".deps/tar.Tpo"; exit 1; fi tar.c: In function `tar_set_quoting_style': tar.c:238: error: `program_invocation_short_name' undeclared (first use in this function) tar.c:238: error: (Each undeclared identifier is reported only once tar.c:238: error: for each function it appears in.) make[2]: *** [tar.o] Error 1 Maybe you should consider using the gnulib progname module, or look at reusing __argp_short_program_name from argp-help.c... -- Eric Blake _______________________________________________ Bug-tar mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-tar
