aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-01-11 17:20:00 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-01-11 17:20:00 +0000
commitf7996f3b700a22797565e9aa57e251e6e3ac1e4d (patch)
treeaf4e797eef0a65f4e3dba94b325da0ec08452d36 /libbb
parent3821fb13ea404d243115ff8ec161273b62826513 (diff)
downloadbusybox-f7996f3b700a22797565e9aa57e251e6e3ac1e4d.tar.gz
Trailing whitespace removal over entire tree
Diffstat (limited to 'libbb')
-rw-r--r--libbb/copy_file.c2
-rw-r--r--libbb/copyfd.c2
-rw-r--r--libbb/get_line_from_file.c2
-rw-r--r--libbb/getopt32.c2
-rw-r--r--libbb/procps.c2
-rw-r--r--libbb/recursive_action.c2
6 files changed, 6 insertions, 6 deletions
diff --git a/libbb/copy_file.c b/libbb/copy_file.c
index 0135831fe..632064eaa 100644
--- a/libbb/copy_file.c
+++ b/libbb/copy_file.c
@@ -144,7 +144,7 @@ int copy_file(const char *source, const char *dest, int flags)
} else if (S_ISREG(source_stat.st_mode)
// Huh? DEREF uses stat, which never returns links IIRC...
- || (FLAGS_DEREF && S_ISLNK(source_stat.st_mode))
+ || (FLAGS_DEREF && S_ISLNK(source_stat.st_mode))
) {
int src_fd;
int dst_fd;
diff --git a/libbb/copyfd.c b/libbb/copyfd.c
index 17bf4fbc2..0d0ec2232 100644
--- a/libbb/copyfd.c
+++ b/libbb/copyfd.c
@@ -60,7 +60,7 @@ static off_t bb_full_fd_action(int src_fd, int dst_fd, off_t size)
size -= rd;
if (!size) {
/* 'size' bytes copied - all done */
- status = 0;
+ status = 0;
break;
}
}
diff --git a/libbb/get_line_from_file.c b/libbb/get_line_from_file.c
index a27693f66..5078f49ea 100644
--- a/libbb/get_line_from_file.c
+++ b/libbb/get_line_from_file.c
@@ -11,7 +11,7 @@
#include "libbb.h"
-/* This function reads an entire line from a text file, up to a newline
+/* This function reads an entire line from a text file, up to a newline
* or NUL byte, inclusive. It returns a malloc'ed char * which must be
* stored and free'ed by the caller. If end is null '\n' isn't considered
* end of line. If end isn't null, length of the chunk read is stored in it. */
diff --git a/libbb/getopt32.c b/libbb/getopt32.c
index 50343fdab..f93438df0 100644
--- a/libbb/getopt32.c
+++ b/libbb/getopt32.c
@@ -79,7 +79,7 @@ const struct option *applet_long_options
(see getopt(3))
static const struct option applet_long_options[] = {
- //name,has_arg,flag,val
+ //name,has_arg,flag,val
{ "verbose", 0, 0, 'v' },
{ 0, 0, 0, 0 }
};
diff --git a/libbb/procps.c b/libbb/procps.c
index 017710ff4..a799bf927 100644
--- a/libbb/procps.c
+++ b/libbb/procps.c
@@ -141,7 +141,7 @@ procps_status_t* procps_scan(procps_status_t* sp, int flags)
sp->uid = sb.st_uid;
sp->gid = sb.st_gid;
}
-
+
if (flags & PSSCAN_STAT) {
char *cp;
/* see proc(5) for some details on this */
diff --git a/libbb/recursive_action.c b/libbb/recursive_action.c
index 121a3dffd..25a87b88e 100644
--- a/libbb/recursive_action.c
+++ b/libbb/recursive_action.c
@@ -33,7 +33,7 @@ static int true_action(const char *fileName, struct stat *statbuf, void* userDat
*
* if !depthFirst, dirAction return value of 0 (FALSE) or 2 (SKIP)
* prevents recursion into that directory, instead
- * recursive_action() returns 0 (if FALSE) or 1 (if SKIP).
+ * recursive_action() returns 0 (if FALSE) or 1 (if SKIP).
*
* followLinks=0/1 differs mainly in handling of links to dirs.
* 0: lstat(statbuf). Calls fileAction on link name even if points to dir.