Sergey Poznyakoff
6131dd2805
Skip file or archive member if its transformed name is empty.
...
* NEWS: Document changes.
* doc/tar.texi: Document changes.
* src/common.h (transform_stat_info): Change return value.
(transform_name_fp): Change signature.
(WARN_EMPTY_TRANSFORM): New constant.
* src/create.c: Check return from transform_name. Skip file, if it
is false.
* src/list.c (transform_stat_info): Return bool.
(read_and): Skip member if transform_stat_info returns false.
* src/transform.c (_transform_name_to_obstack): Change return type.
Always allocate result in obstack.
(transform_name_fp): Change arguments. Return true on
success (transformed string not empty). Otherwise return false and
don't change the source string.
* src/warning.c: New warning class: empty-transform.
* tests/extrac17.at: Use --warning=empty-transform.
2025-05-06 15:32:17 +03:00
Paul Eggert
0aa991f386
Update copyright years
...
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
$HOME/src/gnu/gnulib/build-aux/update-copyright \
$(git ls-files | sed -e '/^gnulib$/d
/^paxutils$/d
/^COPYING$/d
/\/fdl.texi$/d')
sed -i '2000,${
/^Copyright @copyright/d
s/^[0-9]*--\(2025 Free Software Foundation, Inc.\)/Copyright (C) \1/
}' doc/tar.texi
2025-01-01 18:33:10 -08:00
Paul Eggert
c6f0ad5117
Update copyright years
...
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
gnulib/build-aux/update-copyright \
$(git ls-files | sed -e '/^gnulib$/d
/^paxutils$/d
/^COPYING$/d
/\/fdl.texi$/d')
sed -i '2000,${
/^Copyright @copyright/d
s/^[0-9]*--\(2024 Free Software Foundation, Inc.\)/Copyright (C) \1/
}' doc/tar.texi
2024-01-01 19:08:46 -08:00
Paul Eggert
719d3b44b7
Update copyright years
...
UPDATE_COPYRIGHT_USE_INTERVALS=1 \
gnulib/build-aux/update-copyright \
$(git ls-files | sed -e '/^gnulib$/d
/^paxutils$/d
/^COPYING$/d
/\/fdl.texi$/d')
2023-01-06 12:50:36 -08:00
Sergey Poznyakoff
5c713540e3
Update copyright years
2022-01-02 10:25:29 +02:00
Sergey Poznyakoff
afa743ac23
Update copyright years
2021-01-06 17:55:16 +02:00
Sergey Poznyakoff
8d90723d30
Update copyright years
2020-02-08 13:21:13 +02:00
Sergey Poznyakoff
2684c88a49
Version 1.31
2019-01-02 20:20:28 +02:00
Sergey Poznyakoff
30fe67226a
Update copyright years
2017-01-02 14:49:55 +02:00
Sergey Poznyakoff
1d2674bacc
Mark all tests related to -C option with the "chdir" keyword
2016-09-26 14:00:12 +03:00
Sergey Poznyakoff
8980ecd62d
Update copyright years
2016-01-20 11:29:17 +02:00
Sergey Poznyakoff
45ccda1193
Update copyright years.
2014-01-30 13:54:15 +02:00
Paul Eggert
cd7bdd4076
maint: update copyrights for 2013 and as per current GNU standards
2012-12-31 13:17:15 -08:00
Paul Eggert
b32edff5aa
tests: fix some issues with signals, timestamps, "test" typo
...
* tests/extrac17.at: Add --warning=no-timestamp, to avoid
bogus warning due to NFS clock skew.
* tests/remfiles01.at: Discard diagnostics that some shells
generate about broken pipes.
* tests/sigpipe.at: Likewise.
* tests/remfiles01.at: Fix typo: "test $EC" was written where
"test $EC -ne 0" was intended.
2010-11-02 01:05:16 -07:00
Sergey Poznyakoff
28e91b48f6
Make sure name matching occurs before name transformation.
...
The commit 9c194c99 altered that order.
* src/list.c (transform_stat_info): New function. Split off from
decode_header.
(read_and): Call transform_stat_info right before do_something,
and after deciding if we should proceed with this member name,
so that name matching occurs before name transformation.
* tests/extrac17.at: New file.
* tests/Makefile.am (TESTSUITE_AT): Add extrac17.at
* tests/testsuite.at: Include extrac17.at.
2010-10-26 22:29:02 +03:00