summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenis Vlasenko2007-08-16 10:35:17 +0000
committerDenis Vlasenko2007-08-16 10:35:17 +0000
commit6a2f7f41cf7c544d6abce958f89c873b24f79b18 (patch)
tree6155700deea3477ee366aec5360909261ed53cd6 /coreutils
parent033e592cbc96c150c67ac9be7df65e314be5c8f8 (diff)
downloadbusybox-6a2f7f41cf7c544d6abce958f89c873b24f79b18.zip
busybox-6a2f7f41cf7c544d6abce958f89c873b24f79b18.tar.gz
whitespace fixes, no code changes
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/dos2unix.c2
-rw-r--r--coreutils/expand.c2
-rw-r--r--coreutils/ln.c3
3 files changed, 4 insertions, 3 deletions
diff --git a/coreutils/dos2unix.c b/coreutils/dos2unix.c
index 115632f..00688aa 100644
--- a/coreutils/dos2unix.c
+++ b/coreutils/dos2unix.c
@@ -89,7 +89,7 @@ int dos2unix_main(int argc, char **argv)
} else {
conv_type = CT_UNIX2DOS; /* 1 */
}
-
+
/* -u convert to unix, -d convert to dos */
opt_complementary = "u--d:d--u"; /* mutally exclusive */
o = getopt32(argc, argv, "du");
diff --git a/coreutils/expand.c b/coreutils/expand.c
index 30815ff..4b5fa10 100644
--- a/coreutils/expand.c
+++ b/coreutils/expand.c
@@ -196,7 +196,7 @@ int expand_main(int argc, char **argv)
exit_status = EXIT_FAILURE;
}
/* If stdin also clear EOF */
- if (file == stdin)
+ if (file == stdin)
clearerr(file);
} while (*++argv);
diff --git a/coreutils/ln.c b/coreutils/ln.c
index 93a283d..cffd4fd 100644
--- a/coreutils/ln.c
+++ b/coreutils/ln.c
@@ -54,7 +54,8 @@ int ln_main(int argc, char **argv)
if (is_directory(src,
(flag & LN_NODEREFERENCE) ^ LN_NODEREFERENCE,
- NULL)) {
+ NULL)
+ ) {
src_name = xstrdup(*argv);
src = concat_path_file(src, bb_get_last_path_component(src_name));
free(src_name);