OSDN Git Service

Fix directory test in cp.
authorElliott Hughes <enh@google.com>
Wed, 6 Jan 2016 16:38:46 +0000 (08:38 -0800)
committerRob Landley <rob@landley.net>
Tue, 2 Feb 2016 05:03:35 +0000 (23:03 -0600)
commit2554243d8872a5083ad2bbd019e2e513000df3c6
treec60e321a7f51d661fcb99aa32a33e24f1b1d45cc
parent8aee3e5b5e774e3d79951d240e08384590811ffc
Fix directory test in cp.

Commit 3d33dd80f8cb931e293d7f64c44bc357fec11120 fixed a use of S_ISDIR
on st_dev rather than st_mode in find, but there was another instance
of the same error in cp.
toys/posix/cp.c