diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2014-09-11 08:45:32 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2014-09-11 08:47:38 -0700 |
commit | 3b1ac4b1edd6f56155196ce79e6a58c652f03f2f (patch) | |
tree | 65cda39434853ebc16fad227b21e83b49b477f16 /src/expand.c | |
parent | e8715100cb2824fbd8ec724728a21fffdbcdb9f5 (diff) | |
download | coreutils-3b1ac4b1edd6f56155196ce79e6a58c652f03f2f.tar.xz |
cat: allow copying empty files to themselves
Problem reported by Vincent Lefevre in: http://bugs.gnu.org/18449
* src/cat.c (main): Allow copying an empty file to itself.
* tests/misc/cat-self.sh: New test.
* tests/local.mk (all_tests): Add it.
Diffstat (limited to 'src/expand.c')
0 files changed, 0 insertions, 0 deletions