svn commit: trunk/busybox: archival archival/libunarchive coreutils etc...

vda at busybox.net vda at busybox.net
Sat Jan 13 21:06:21 UTC 2007


Author: vda
Date: 2007-01-13 13:06:21 -0800 (Sat, 13 Jan 2007)
New Revision: 17265

Log:
whitespace fixes (leading spaces to tab)


Modified:
   trunk/busybox/archival/gzip.c
   trunk/busybox/archival/libunarchive/get_header_cpio.c
   trunk/busybox/coreutils/chown.c
   trunk/busybox/coreutils/install.c
   trunk/busybox/editors/awk.c
   trunk/busybox/include/libbb.h
   trunk/busybox/networking/telnetd.c
   trunk/busybox/procps/kill.c
   trunk/busybox/scripts/kconfig/lxdialog/menubox.c
   trunk/busybox/sysklogd/syslogd.c
   trunk/busybox/util-linux/fsck_minix.c


Changeset:
Modified: trunk/busybox/archival/gzip.c
===================================================================
--- trunk/busybox/archival/gzip.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/archival/gzip.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -1008,7 +1008,7 @@
 #  define SEND_CODE(c, tree) \
 { \
 	if (verbose > 1) bb_error_msg("\ncd %3d ",(c)); \
-        send_bits(tree[c].Code, tree[c].Len); \
+	send_bits(tree[c].Code, tree[c].Len); \
 }
 #endif
 

Modified: trunk/busybox/archival/libunarchive/get_header_cpio.c
===================================================================
--- trunk/busybox/archival/libunarchive/get_header_cpio.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/archival/libunarchive/get_header_cpio.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -103,7 +103,7 @@
 		/* Always round up */
 		printf("%d blocks\n", (int) (archive_handle->offset % 512 ?
 		                             archive_handle->offset / 512 + 1 :
-                                             archive_handle->offset / 512
+		                             archive_handle->offset / 512
 		                            ));
 		if (saved_hardlinks) { /* Bummer - we still have unresolved hardlinks */
 			hardlinks_t *tmp = saved_hardlinks;

Modified: trunk/busybox/coreutils/chown.c
===================================================================
--- trunk/busybox/coreutils/chown.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/coreutils/chown.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -72,7 +72,7 @@
 		*groupName = ':'; /* replace '.' with ':' */
 
 	/* First, try parsing "user[:[group]]" */
-        if (!groupName) { /* "user" */
+	if (!groupName) { /* "user" */
 		ugid.uid = get_ug_id(*argv, xuname2uid);
 	} else if (groupName == *argv) { /* ":group" */
 		ugid.gid = get_ug_id(groupName + 1, xgroup2gid);

Modified: trunk/busybox/coreutils/install.c
===================================================================
--- trunk/busybox/coreutils/install.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/coreutils/install.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -86,7 +86,7 @@
 						break;
 					}
 				}
-        			if ((flags & (OPT_OWNER|OPT_GROUP))
+				if ((flags & (OPT_OWNER|OPT_GROUP))
 				 && lchown(*argv, uid, gid) == -1
 				) {
 					bb_perror_msg("cannot change ownership of %s", *argv);

Modified: trunk/busybox/editors/awk.c
===================================================================
--- trunk/busybox/editors/awk.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/editors/awk.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -2648,7 +2648,7 @@
 	char *vnames = (char *)vNames; /* cheat */
 	char *vvalues = (char *)vValues;
 
-        /* Undo busybox.c, or else strtod may eat ','! This breaks parsing:
+	/* Undo busybox.c, or else strtod may eat ','! This breaks parsing:
 	 * $1,$2 == '$1,' '$2', NOT '$1' ',' '$2' */
 	if (ENABLE_LOCALE_SUPPORT)
 		setlocale(LC_NUMERIC, "C");

Modified: trunk/busybox/include/libbb.h
===================================================================
--- trunk/busybox/include/libbb.h	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/include/libbb.h	2007-01-13 21:06:21 UTC (rev 17265)
@@ -423,8 +423,8 @@
 extern unsigned long get_ug_id(const char *s, long (*xname2id)(const char *));
 /* from chpst. Does not die, returns 0 on failure */
 struct bb_uidgid_t {
-        uid_t uid;
-        gid_t gid;
+	uid_t uid;
+	gid_t gid;
 };
 extern int get_uidgid(struct bb_uidgid_t*, const char*, int numeric_ok);
 /* what is this? */

Modified: trunk/busybox/networking/telnetd.c
===================================================================
--- trunk/busybox/networking/telnetd.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/networking/telnetd.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -335,7 +335,7 @@
 	free(ts);
 
 	/* scan all sessions and find new maxfd */
-        ts = sessions;
+	ts = sessions;
 	maxfd = 0;
 	while (ts) {
 		if (maxfd < ts->ptyfd)

Modified: trunk/busybox/procps/kill.c
===================================================================
--- trunk/busybox/procps/kill.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/procps/kill.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -94,7 +94,7 @@
 		pid = getpid();
 		sid = getsid(pid);
 		/* Now kill all processes except our session */
-        	while ((p = procps_scan(p, PSSCAN_PID|PSSCAN_SID))) {
+		while ((p = procps_scan(p, PSSCAN_PID|PSSCAN_SID))) {
 			if (p->sid != sid && p->pid != pid && p->pid != 1)
 				kill(p->pid, signo);
 		}

Modified: trunk/busybox/scripts/kconfig/lxdialog/menubox.c
===================================================================
--- trunk/busybox/scripts/kconfig/lxdialog/menubox.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/scripts/kconfig/lxdialog/menubox.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -179,8 +179,8 @@
  * Display a menu for choosing among a number of options
  */
 int dialog_menu(const char *title, const char *prompt, int height, int width,
-                int menu_height, const char *current, int item_no,
-                const char *const *items)
+		int menu_height, const char *current, int item_no,
+		const char *const *items)
 {
 	int i, j, x, y, box_x, box_y;
 	int key = 0, button = 0, scroll = 0, choice = 0;

Modified: trunk/busybox/sysklogd/syslogd.c
===================================================================
--- trunk/busybox/sysklogd/syslogd.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/sysklogd/syslogd.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -201,7 +201,7 @@
 
 	/* Circular Buffer Algorithm:
 	 * --------------------------
-         * tail == position where to store next syslog message.
+	 * tail == position where to store next syslog message.
 	 * head == position of next message to retrieve ("print").
 	 * if head == tail, there is no "unprinted" messages left.
 	 * head is typically advanced by separate "reader" program,

Modified: trunk/busybox/util-linux/fsck_minix.c
===================================================================
--- trunk/busybox/util-linux/fsck_minix.c	2007-01-13 21:05:38 UTC (rev 17264)
+++ trunk/busybox/util-linux/fsck_minix.c	2007-01-13 21:06:21 UTC (rev 17265)
@@ -155,7 +155,7 @@
 /* gcc likes this more (code is smaller) than macro variant */
 static ATTRIBUTE_ALWAYS_INLINE unsigned div_roundup(unsigned size, unsigned n)
 {
-        return (size + n-1) / n;
+	return (size + n-1) / n;
 }
 
 #if ENABLE_FEATURE_MINIX2




More information about the busybox-cvs mailing list