]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: fix /dev/stdin problem on Solaris
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 May 2019 19:42:24 +0000 (12:42 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 28 May 2019 20:44:40 +0000 (13:44 -0700)
commit3b1046f80f3381af7f81aec7ed8041a883fb50fa
treed1271dfc142ccc0dbb12b8814cad21984b7aef94
parent3a87ad51240b593c79f06ca98ca38117908a78c8
cp: fix /dev/stdin problem on Solaris

Problem reported by Jakub Kulik (Bug#35713).
* NEWS: Mention this.
* configure.ac (DEV_FD_MIGHT_BE_CHR): New macro.
* src/copy.c (DEV_FD_MIGHT_BE_CHR): Default to false.
(follow_fstatat): New function.
(copy_internal): Use it.
* src/copy.h (XSTAT): Remove; no longer used.
NEWS
configure.ac
src/copy.c
src/copy.h