]> git.ipfire.org Git - thirdparty/coreutils.git/commit
split: --additional-suffix: disallow trailing '/'
authorPádraig Brady <P@draigBrady.com>
Sun, 28 May 2023 14:17:46 +0000 (15:17 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 31 May 2023 16:26:13 +0000 (17:26 +0100)
commit0147288d20169113cdc7075c787c4dbb8c67187c
treecb0c32fb84fe97e17c72559eea3a5497ca384832
parentd055228e341d36a7b79057eb2285d4ead69ae808
split: --additional-suffix: disallow trailing '/'

Note mktemp --suffix has the same inconsistency,
but mktemp -d does support creating dirs
so probably best to leave that as is.

* src/split.c (main): Check for trailing /.
* tests/split/additional-suffix.sh: Augment the test.
Reported in https://bugs.debian.org/1036827
src/split.c
tests/split/additional-suffix.sh