diff options
author | Jim Meyering <jim@meyering.net> | 1995-11-15 15:45:28 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1995-11-15 15:45:28 +0000 |
commit | f1e1eb58bef89b3eae1210d46fb0d88f73b5a409 (patch) | |
tree | 353615541aff7c36291803dcf771b60b87278aa5 /src | |
parent | 3d6c17e94f630e1e155aa3ffa79207ca4563252c (diff) | |
download | coreutils-f1e1eb58bef89b3eae1210d46fb0d88f73b5a409.tar.xz |
Break long lines.
Diffstat (limited to 'src')
-rw-r--r-- | src/cp.c | 10 | ||||
-rw-r--r-- | src/du.c | 3 | ||||
-rw-r--r-- | src/ln.c | 3 | ||||
-rw-r--r-- | src/mv.c | 3 |
4 files changed, 13 insertions, 6 deletions
@@ -468,7 +468,8 @@ do_copy (int argc, char **argv) Return 0 if successful, 1 if an error occurs. */ static int -copy (char *src_path, char *dst_path, int new_dst, dev_t device, struct dir_list *ancestors) +copy (char *src_path, char *dst_path, int new_dst, dev_t device, + struct dir_list *ancestors) { struct stat src_sb; struct stat dst_sb; @@ -856,7 +857,9 @@ un_backup: permissions when done, otherwise 1. */ static int -make_path_private (char *const_dirpath, int src_offset, int mode, char *verbose_fmt_string, struct dir_attr **attr_list, int *new_dst) +make_path_private (char *const_dirpath, int src_offset, int mode, + char *verbose_fmt_string, struct dir_attr **attr_list, + int *new_dst) { struct stat stats; char *dirpath; /* A copy of CONST_DIRPATH we can change. */ @@ -1040,7 +1043,8 @@ re_protect (char *const_dst_path, int src_offset, struct dir_attr *attr_list) Return 0 if successful, -1 if an error occurs. */ static int -copy_dir (char *src_path_in, char *dst_path_in, int new_dst, struct stat *src_sb, struct dir_list *ancestors) +copy_dir (char *src_path_in, char *dst_path_in, int new_dst, + struct stat *src_sb, struct dir_list *ancestors) { char *name_space; char *namep; @@ -482,7 +482,8 @@ count_entry (char *ent, int top, dev_t last_dev) free_cwd (&cwd); } else if (chdir ("..") < 0) - error (1, errno, "cannot change to `..' from directory %s", path->text); + error (1, errno, + "cannot change to `..' from directory %s", path->text); str_trunc (path, pathlen - 1); /* Remove the "/" we added. */ if (!opt_summarize_only || top) @@ -314,7 +314,8 @@ main (int argc, char **argv) = hard_dir_link = 0; errors = 0; - while ((c = getopt_long (argc, argv, "bdfinsvFS:V:", long_options, (int *) 0)) + while ((c = getopt_long (argc, argv, + "bdfinsvFS:V:", long_options, (int *) 0)) != EOF) { switch (c) @@ -473,7 +473,8 @@ main (int argc, char **argv) stdin_tty = isatty (STDIN_FILENO); if (argc > optind + 2 && !isdir (argv[argc - 1])) - error (1, 0, "when moving multiple files, last argument must be a directory"); + error (1, 0, + "when moving multiple files, last argument must be a directory"); /* Move each arg but the last onto the last. */ for (; optind < argc - 1; ++optind) |