[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] tar-1.30 gnulib: error() and set_program_name() out of sync
From: |
Christian Weisgerber |
Subject: |
[Bug-tar] tar-1.30 gnulib: error() and set_program_name() out of sync |
Date: |
Fri, 27 Apr 2018 14:22:10 +0200 |
User-agent: |
Mutt/1.9.5 (2018-04-13) |
For GNU tar 1.30, the regression tests remfiles01.at and remfiles02.at
(175 176) fail. The immediate problem is that tar's child process
fails to identify itself as "tar (child)" in the error message.
The underlying cause is a change in gnulib, specifically this commit:
https://git.savannah.gnu.org/cgit/gnulib.git/commit/lib/error.c?id=f29814b96c9737abc8193d57d630697700feebeb
tar uses set_program_name() to set the program name in a variable
program_name, but error() now calls getprogname(), which does not
read program_name.
I don't know at which level this should be fixed, but it seems odd
that gnulib offers a set_program_name() that is ignored by the rest
of the library.
--
Christian "naddy" Weisgerber address@hidden
- [Bug-tar] tar-1.30 gnulib: error() and set_program_name() out of sync,
Christian Weisgerber <=