summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1995-11-15 15:45:28 +0000
committerJim Meyering <jim@meyering.net>1995-11-15 15:45:28 +0000
commitf1e1eb58bef89b3eae1210d46fb0d88f73b5a409 (patch)
tree353615541aff7c36291803dcf771b60b87278aa5 /src
parent3d6c17e94f630e1e155aa3ffa79207ca4563252c (diff)
downloadcoreutils-f1e1eb58bef89b3eae1210d46fb0d88f73b5a409.tar.xz
Break long lines.
Diffstat (limited to 'src')
-rw-r--r--src/cp.c10
-rw-r--r--src/du.c3
-rw-r--r--src/ln.c3
-rw-r--r--src/mv.c3
4 files changed, 13 insertions, 6 deletions
diff --git a/src/cp.c b/src/cp.c
index 5354e6501..145fb02f6 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -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;
diff --git a/src/du.c b/src/du.c
index c3a47db1d..41e8b537b 100644
--- a/src/du.c
+++ b/src/du.c
@@ -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)
diff --git a/src/ln.c b/src/ln.c
index ac43d5315..d80a9c0da 100644
--- a/src/ln.c
+++ b/src/ln.c
@@ -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)
diff --git a/src/mv.c b/src/mv.c
index ca7cbae6a..2cea495c9 100644
--- a/src/mv.c
+++ b/src/mv.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)