Fix the use of options with trailing slash in files-from list
commite5bc23efcc90700710f97379d3116febc5705e19
authorSergey Poznyakoff <gray@gnu.org>
Thu, 1 Jul 2021 06:38:35 +0000 (1 09:38 +0300)
committerSergey Poznyakoff <gray@gnu.org>
Thu, 1 Jul 2021 06:38:35 +0000 (1 09:38 +0300)
treeb2d148050b01151236e3cab864647bcc94a59ebc
parent12d67f44ded933ecb3f716553c091941596d702a
Fix the use of options with trailing slash in files-from list

* src/names.c (read_name_from_file): Do not remove trailing slash
here, since name_buffer might contain an option (e.g. -C /).
(read_next_name): Remove trailing slash when we're sure we're dealing
with a file name.
See 163e96a0.
src/names.c