summaryrefslogtreecommitdiff
path: root/tests/misc/ptx.pl
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2014-03-24 23:17:02 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2014-03-24 23:18:41 -0700
commit7f669b40c91bda7d6d4827d20cc637dcda08c68a (patch)
treec46a108f7782c31652227cf6e1b32e100bc12047 /tests/misc/ptx.pl
parent4b25fdbdabce1b758e55880d0aa3947614d94c3d (diff)
downloadcoreutils-7f669b40c91bda7d6d4827d20cc637dcda08c68a.tar.xz
cp: simplify overwrite logic
* src/copy.c (overwrite_ok): Rename from overwrite_prompt. Invoke yesno instead of having the caller do it; that's cleaner. Return bool, not void. All callers changed.
Diffstat (limited to 'tests/misc/ptx.pl')
0 files changed, 0 insertions, 0 deletions