aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-13 21:06:21 +0000
committervda <vda@69ca8d6d-28ef-0310-b511-8ec308f3f277>2007-01-13 21:06:21 +0000
commita8ce712c3cd70a63253f93a240bfe1650e7d6865 (patch)
treeddac0e3876f058e0070dc497902994583517f879
parent17404d32f8a380def4fe8db90300572582d35b5d (diff)
downloadbusybox-w32-a8ce712c3cd70a63253f93a240bfe1650e7d6865.tar.gz
busybox-w32-a8ce712c3cd70a63253f93a240bfe1650e7d6865.tar.bz2
busybox-w32-a8ce712c3cd70a63253f93a240bfe1650e7d6865.zip
whitespace fixes (leading spaces to tab)
git-svn-id: svn://busybox.net/trunk/busybox@17265 69ca8d6d-28ef-0310-b511-8ec308f3f277
-rw-r--r--archival/gzip.c2
-rw-r--r--archival/libunarchive/get_header_cpio.c2
-rw-r--r--coreutils/chown.c2
-rw-r--r--coreutils/install.c2
-rw-r--r--editors/awk.c2
-rw-r--r--include/libbb.h4
-rw-r--r--networking/telnetd.c2
-rw-r--r--procps/kill.c2
-rw-r--r--scripts/kconfig/lxdialog/menubox.c4
-rw-r--r--sysklogd/syslogd.c2
-rw-r--r--util-linux/fsck_minix.c2
11 files changed, 13 insertions, 13 deletions
diff --git a/archival/gzip.c b/archival/gzip.c
index b6705425e..2b520b3e7 100644
--- a/archival/gzip.c
+++ b/archival/gzip.c
@@ -1008,7 +1008,7 @@ static void compress_block(ct_data * ltree, ct_data * dtree);
1008# define SEND_CODE(c, tree) \ 1008# define SEND_CODE(c, tree) \
1009{ \ 1009{ \
1010 if (verbose > 1) bb_error_msg("\ncd %3d ",(c)); \ 1010 if (verbose > 1) bb_error_msg("\ncd %3d ",(c)); \
1011 send_bits(tree[c].Code, tree[c].Len); \ 1011 send_bits(tree[c].Code, tree[c].Len); \
1012} 1012}
1013#endif 1013#endif
1014 1014
diff --git a/archival/libunarchive/get_header_cpio.c b/archival/libunarchive/get_header_cpio.c
index e0272003c..6fd134018 100644
--- a/archival/libunarchive/get_header_cpio.c
+++ b/archival/libunarchive/get_header_cpio.c
@@ -103,7 +103,7 @@ char get_header_cpio(archive_handle_t *archive_handle)
103 /* Always round up */ 103 /* Always round up */
104 printf("%d blocks\n", (int) (archive_handle->offset % 512 ? 104 printf("%d blocks\n", (int) (archive_handle->offset % 512 ?
105 archive_handle->offset / 512 + 1 : 105 archive_handle->offset / 512 + 1 :
106 archive_handle->offset / 512 106 archive_handle->offset / 512
107 )); 107 ));
108 if (saved_hardlinks) { /* Bummer - we still have unresolved hardlinks */ 108 if (saved_hardlinks) { /* Bummer - we still have unresolved hardlinks */
109 hardlinks_t *tmp = saved_hardlinks; 109 hardlinks_t *tmp = saved_hardlinks;
diff --git a/coreutils/chown.c b/coreutils/chown.c
index da6b6abdd..09cf73f04 100644
--- a/coreutils/chown.c
+++ b/coreutils/chown.c
@@ -72,7 +72,7 @@ int chown_main(int argc, char **argv)
72 *groupName = ':'; /* replace '.' with ':' */ 72 *groupName = ':'; /* replace '.' with ':' */
73 73
74 /* First, try parsing "user[:[group]]" */ 74 /* First, try parsing "user[:[group]]" */
75 if (!groupName) { /* "user" */ 75 if (!groupName) { /* "user" */
76 ugid.uid = get_ug_id(*argv, xuname2uid); 76 ugid.uid = get_ug_id(*argv, xuname2uid);
77 } else if (groupName == *argv) { /* ":group" */ 77 } else if (groupName == *argv) { /* ":group" */
78 ugid.gid = get_ug_id(groupName + 1, xgroup2gid); 78 ugid.gid = get_ug_id(groupName + 1, xgroup2gid);
diff --git a/coreutils/install.c b/coreutils/install.c
index aa7e8bf2b..c899158aa 100644
--- a/coreutils/install.c
+++ b/coreutils/install.c
@@ -86,7 +86,7 @@ int install_main(int argc, char **argv)
86 break; 86 break;
87 } 87 }
88 } 88 }
89 if ((flags & (OPT_OWNER|OPT_GROUP)) 89 if ((flags & (OPT_OWNER|OPT_GROUP))
90 && lchown(*argv, uid, gid) == -1 90 && lchown(*argv, uid, gid) == -1
91 ) { 91 ) {
92 bb_perror_msg("cannot change ownership of %s", *argv); 92 bb_perror_msg("cannot change ownership of %s", *argv);
diff --git a/editors/awk.c b/editors/awk.c
index 9ed2781be..d6dcd9578 100644
--- a/editors/awk.c
+++ b/editors/awk.c
@@ -2648,7 +2648,7 @@ int awk_main(int argc, char **argv)
2648 char *vnames = (char *)vNames; /* cheat */ 2648 char *vnames = (char *)vNames; /* cheat */
2649 char *vvalues = (char *)vValues; 2649 char *vvalues = (char *)vValues;
2650 2650
2651 /* Undo busybox.c, or else strtod may eat ','! This breaks parsing: 2651 /* Undo busybox.c, or else strtod may eat ','! This breaks parsing:
2652 * $1,$2 == '$1,' '$2', NOT '$1' ',' '$2' */ 2652 * $1,$2 == '$1,' '$2', NOT '$1' ',' '$2' */
2653 if (ENABLE_LOCALE_SUPPORT) 2653 if (ENABLE_LOCALE_SUPPORT)
2654 setlocale(LC_NUMERIC, "C"); 2654 setlocale(LC_NUMERIC, "C");
diff --git a/include/libbb.h b/include/libbb.h
index 72261b760..4060498b8 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -423,8 +423,8 @@ extern long xgroup2gid(const char *name);
423extern unsigned long get_ug_id(const char *s, long (*xname2id)(const char *)); 423extern unsigned long get_ug_id(const char *s, long (*xname2id)(const char *));
424/* from chpst. Does not die, returns 0 on failure */ 424/* from chpst. Does not die, returns 0 on failure */
425struct bb_uidgid_t { 425struct bb_uidgid_t {
426 uid_t uid; 426 uid_t uid;
427 gid_t gid; 427 gid_t gid;
428}; 428};
429extern int get_uidgid(struct bb_uidgid_t*, const char*, int numeric_ok); 429extern int get_uidgid(struct bb_uidgid_t*, const char*, int numeric_ok);
430/* what is this? */ 430/* what is this? */
diff --git a/networking/telnetd.c b/networking/telnetd.c
index ff83c93da..51bd0c012 100644
--- a/networking/telnetd.c
+++ b/networking/telnetd.c
@@ -335,7 +335,7 @@ free_session(struct tsession *ts)
335 free(ts); 335 free(ts);
336 336
337 /* scan all sessions and find new maxfd */ 337 /* scan all sessions and find new maxfd */
338 ts = sessions; 338 ts = sessions;
339 maxfd = 0; 339 maxfd = 0;
340 while (ts) { 340 while (ts) {
341 if (maxfd < ts->ptyfd) 341 if (maxfd < ts->ptyfd)
diff --git a/procps/kill.c b/procps/kill.c
index 18121f06f..5b167326f 100644
--- a/procps/kill.c
+++ b/procps/kill.c
@@ -94,7 +94,7 @@ do_it_now:
94 pid = getpid(); 94 pid = getpid();
95 sid = getsid(pid); 95 sid = getsid(pid);
96 /* Now kill all processes except our session */ 96 /* Now kill all processes except our session */
97 while ((p = procps_scan(p, PSSCAN_PID|PSSCAN_SID))) { 97 while ((p = procps_scan(p, PSSCAN_PID|PSSCAN_SID))) {
98 if (p->sid != sid && p->pid != pid && p->pid != 1) 98 if (p->sid != sid && p->pid != pid && p->pid != 1)
99 kill(p->pid, signo); 99 kill(p->pid, signo);
100 } 100 }
diff --git a/scripts/kconfig/lxdialog/menubox.c b/scripts/kconfig/lxdialog/menubox.c
index 078e55a2e..1fd501b39 100644
--- a/scripts/kconfig/lxdialog/menubox.c
+++ b/scripts/kconfig/lxdialog/menubox.c
@@ -179,8 +179,8 @@ static void do_scroll(WINDOW *win, int *scroll, int n)
179 * Display a menu for choosing among a number of options 179 * Display a menu for choosing among a number of options
180 */ 180 */
181int dialog_menu(const char *title, const char *prompt, int height, int width, 181int dialog_menu(const char *title, const char *prompt, int height, int width,
182 int menu_height, const char *current, int item_no, 182 int menu_height, const char *current, int item_no,
183 const char *const *items) 183 const char *const *items)
184{ 184{
185 int i, j, x, y, box_x, box_y; 185 int i, j, x, y, box_x, box_y;
186 int key = 0, button = 0, scroll = 0, choice = 0; 186 int key = 0, button = 0, scroll = 0, choice = 0;
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 405282796..716e41f5f 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -201,7 +201,7 @@ static void log_to_shmem(const char *msg, int len)
201 201
202 /* Circular Buffer Algorithm: 202 /* Circular Buffer Algorithm:
203 * -------------------------- 203 * --------------------------
204 * tail == position where to store next syslog message. 204 * tail == position where to store next syslog message.
205 * head == position of next message to retrieve ("print"). 205 * head == position of next message to retrieve ("print").
206 * if head == tail, there is no "unprinted" messages left. 206 * if head == tail, there is no "unprinted" messages left.
207 * head is typically advanced by separate "reader" program, 207 * head is typically advanced by separate "reader" program,
diff --git a/util-linux/fsck_minix.c b/util-linux/fsck_minix.c
index e2341ced1..4e9365116 100644
--- a/util-linux/fsck_minix.c
+++ b/util-linux/fsck_minix.c
@@ -155,7 +155,7 @@ static char super_block_buffer[BLOCK_SIZE];
155/* gcc likes this more (code is smaller) than macro variant */ 155/* gcc likes this more (code is smaller) than macro variant */
156static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n) 156static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)
157{ 157{
158 return (size + n-1) / n; 158 return (size + n-1) / n;
159} 159}
160 160
161#if ENABLE_FEATURE_MINIX2 161#if ENABLE_FEATURE_MINIX2