summaryrefslogtreecommitdiff
path: root/src/pr.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2023-05-05 11:03:25 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2023-05-05 11:05:03 -0700
commit300af7869161a3618e28cbae3daefc25c8267efe (patch)
tree3699f3a22034584ee7ec839b0a0be29a4aa130eb /src/pr.c
parentc6b1fe43474b48a6bf5793e11cc1d0d6e895fdf4 (diff)
downloadcoreutils-300af7869161a3618e28cbae3daefc25c8267efe.tar.gz
cp: -p --parents: minor cleanup of previous patch
This doesn’t change behavior; it just clarifies the code a bit. * src/cp.c (re_protect): New arg DST_SRC_NAME, for clarity, and so that we need to skip '/'s only once. Caller changed. Rename a couple of local variables to try to make things clearer.
Diffstat (limited to 'src/pr.c')
0 files changed, 0 insertions, 0 deletions