aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-11 17:20:00 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-11 17:20:00 +0000
commit8bcd78dd99c17ea33daf8fb670dc9489cb24168f (patch)
treeaf4e797eef0a65f4e3dba94b325da0ec08452d36 /libbb
parenteac7a041006fbc2b18d2bbf26547d0780369fa5e (diff)
downloadbusybox-w32-8bcd78dd99c17ea33daf8fb670dc9489cb24168f.tar.gz
busybox-w32-8bcd78dd99c17ea33daf8fb670dc9489cb24168f.tar.bz2
busybox-w32-8bcd78dd99c17ea33daf8fb670dc9489cb24168f.zip
Trailing whitespace removal over entire tree
git-svn-id: svn://busybox.net/trunk/busybox@17252 69ca8d6d-28ef-0310-b511-8ec308f3f277
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)
144 144
145 } else if (S_ISREG(source_stat.st_mode) 145 } else if (S_ISREG(source_stat.st_mode)
146 // Huh? DEREF uses stat, which never returns links IIRC... 146 // Huh? DEREF uses stat, which never returns links IIRC...
147 || (FLAGS_DEREF && S_ISLNK(source_stat.st_mode)) 147 || (FLAGS_DEREF && S_ISLNK(source_stat.st_mode))
148 ) { 148 ) {
149 int src_fd; 149 int src_fd;
150 int dst_fd; 150 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)
60 size -= rd; 60 size -= rd;
61 if (!size) { 61 if (!size) {
62 /* 'size' bytes copied - all done */ 62 /* 'size' bytes copied - all done */
63 status = 0; 63 status = 0;
64 break; 64 break;
65 } 65 }
66 } 66 }
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 @@
11 11
12#include "libbb.h" 12#include "libbb.h"
13 13
14/* This function reads an entire line from a text file, up to a newline 14/* This function reads an entire line from a text file, up to a newline
15 * or NUL byte, inclusive. It returns a malloc'ed char * which must be 15 * or NUL byte, inclusive. It returns a malloc'ed char * which must be
16 * stored and free'ed by the caller. If end is null '\n' isn't considered 16 * stored and free'ed by the caller. If end is null '\n' isn't considered
17 * end of line. If end isn't null, length of the chunk read is stored in it. */ 17 * 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
79 (see getopt(3)) 79 (see getopt(3))
80 80
81 static const struct option applet_long_options[] = { 81 static const struct option applet_long_options[] = {
82 //name,has_arg,flag,val 82 //name,has_arg,flag,val
83 { "verbose", 0, 0, 'v' }, 83 { "verbose", 0, 0, 'v' },
84 { 0, 0, 0, 0 } 84 { 0, 0, 0, 0 }
85 }; 85 };
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)
141 sp->uid = sb.st_uid; 141 sp->uid = sb.st_uid;
142 sp->gid = sb.st_gid; 142 sp->gid = sb.st_gid;
143 } 143 }
144 144
145 if (flags & PSSCAN_STAT) { 145 if (flags & PSSCAN_STAT) {
146 char *cp; 146 char *cp;
147 /* see proc(5) for some details on this */ 147 /* 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
33 * 33 *
34 * if !depthFirst, dirAction return value of 0 (FALSE) or 2 (SKIP) 34 * if !depthFirst, dirAction return value of 0 (FALSE) or 2 (SKIP)
35 * prevents recursion into that directory, instead 35 * prevents recursion into that directory, instead
36 * recursive_action() returns 0 (if FALSE) or 1 (if SKIP). 36 * recursive_action() returns 0 (if FALSE) or 1 (if SKIP).
37 * 37 *
38 * followLinks=0/1 differs mainly in handling of links to dirs. 38 * followLinks=0/1 differs mainly in handling of links to dirs.
39 * 0: lstat(statbuf). Calls fileAction on link name even if points to dir. 39 * 0: lstat(statbuf). Calls fileAction on link name even if points to dir.