]> git.ipfire.org Git - thirdparty/coreutils.git/commit
cp: fix two typos in previous change
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Jan 2022 23:17:17 +0000 (15:17 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 14 Jan 2022 23:17:54 +0000 (15:17 -0800)
commitf39a02a744ae97f6879ba1d20a528192772773e0
tree598a03b20fd827f972302a4ab82226ca3003beff
parent95d6754451e68451b1714034c69380d450c8385f
cp: fix two typos in previous change

Somehow ‘make check’ didn’t catch these the first few times.
* src/copy.c (copy_dir): Don’t pass null pointer to
copy_internal where it now expects non-null if move mode.
* src/cp.c (make_dir_parents_private): Initialize *attr_list
before recentely-added quick return.
src/copy.c
src/cp.c