diff options
author | Jim Meyering <meyering@redhat.com> | 2012-01-01 01:46:34 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2012-05-02 10:31:47 +0200 |
commit | b8a6996e258a2c30de40fb20cab0d17a38c3eff2 (patch) | |
tree | 4c84dc578458441a112a4bc3c874cf27eccb231d /src/copy.c | |
parent | a18ba2f10a739e1f0ef31cf0ebd60c8cf95d74f0 (diff) | |
download | coreutils-b8a6996e258a2c30de40fb20cab0d17a38c3eff2.tar.xz |
maint: with split lines, don't leave an operator at end of line
* src/copy.c (copy_reg): Split an expression before a binary operator,
not after it.
* src/cut.c (set_fields): Likewise.
* src/id.c (main): Likewise.
* src/install.c (setdefaultfilecon): Likewise.
* src/join.c (ignore_case): Likewise.
* src/pr.c (cols_ready_to_print, init_parameters, print_page): Likewise.
* src/stty.c (set_window_size): Likewise.
* src/wc.c (SUPPORT_OLD_MBRTOWC): Likewise.
* src/who.c (scan_entries): Likewise.
* src/test.c (binary_operator): Join a split line.
* src/extent-scan.c (extent_scan_read): Move an ">" from end of line
to beginning of the following.
Likewise for two other expressions.
Diffstat (limited to 'src/copy.c')
-rw-r--r-- | src/copy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/copy.c b/src/copy.c index 414fbe0e8..26bbcf22e 100644 --- a/src/copy.c +++ b/src/copy.c @@ -1055,8 +1055,8 @@ copy_reg (char const *src_name, char const *dst_name, make_holes, src_name, dst_name, UINTMAX_MAX, &n_read, &wrote_hole_at_eof) - || (wrote_hole_at_eof && - ftruncate (dest_desc, n_read) < 0)) + || (wrote_hole_at_eof + && ftruncate (dest_desc, n_read) < 0)) { error (0, errno, _("failed to extend %s"), quote (dst_name)); return_val = false; |