diff options
author | Rishabh Dave <rishabhddave@gmail.com> | 2016-11-02 23:43:47 +0000 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2016-11-07 17:09:35 +0000 |
commit | ec946718ae7c329ba4d4ef46a467bba125c141a6 (patch) | |
tree | 5c7042af93646e96d5ccdd5cdde6a62b51800124 /src/date.c | |
parent | 30012b290facf66551cdf395ace397903d00483d (diff) | |
download | coreutils-ec946718ae7c329ba4d4ef46a467bba125c141a6.tar.xz |
maint: simplify handling of backup --suffix in various tools
* src/cp.c (main): Avoid the getenv("SIMPLE_BACKUP_SUFFIX") call,
which is now done if needed in the gnulib backupfile module.
Also avoid the redundant strdup, as we don't modify this suffix.
* src/install.c (main): Likewise.
* src/ln.c (main): Likewise.
* src/mv.c (main): Likewise.
Fixes http://bugs.gnu.org/23153
Diffstat (limited to 'src/date.c')
0 files changed, 0 insertions, 0 deletions