svn commit: trunk/busybox: docs/busybox.net libbb loginutils moduti etc...

vda at busybox.net vda at busybox.net
Mon Jun 16 04:09:28 UTC 2008


Author: vda
Date: 2008-06-15 21:09:25 -0700 (Sun, 15 Jun 2008)
New Revision: 22362

Log:
whitespace and comment fixes, no code changes



Modified:
   trunk/busybox/docs/busybox.net/news.html
   trunk/busybox/libbb/pw_encrypt.c
   trunk/busybox/libbb/pw_encrypt_des.c
   trunk/busybox/loginutils/Config.in
   trunk/busybox/modutils/Config.in
   trunk/busybox/modutils/depmod.c
   trunk/busybox/modutils/modprobe.c
   trunk/busybox/networking/arp.c
   trunk/busybox/util-linux/fdisk_osf.c


Changeset:
Modified: trunk/busybox/docs/busybox.net/news.html
===================================================================
--- trunk/busybox/docs/busybox.net/news.html	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/docs/busybox.net/news.html	2008-06-16 04:09:25 UTC (rev 22362)
@@ -191,7 +191,7 @@
 	<li>tail: fix "tail -c 20 /dev/huge_disk" (was taking ages)
 	<li>tar: compat: handle tarballs with only one zero block at the end
 	<li>tar: autodetection of gz/bz2 compressed tarballs. Closes bug 992
-	<li>tar: real support for -p. By Natanael Copa &lt;natanael.copa at gmail.com&gt; 
+	<li>tar: real support for -p. By Natanael Copa &lt;natanael.copa at gmail.com&gt;
 	<li>tcpudp: narrow down time window where we have no wildcard socket
 	<li>telnetd: use login always, not "sometimes login, sometimes shell"
 	<li>test: fix mishandling of "test ! arg1 op arg2 more args"

Modified: trunk/busybox/libbb/pw_encrypt.c
===================================================================
--- trunk/busybox/libbb/pw_encrypt.c	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/libbb/pw_encrypt.c	2008-06-16 04:09:25 UTC (rev 22362)
@@ -14,10 +14,6 @@
 /*
  * DES and MD5 crypt implementations are taken from uclibc.
  * They were modified to not use static buffers.
- * Comparison with uclibc (before uclibc had 70k staic buffers reinstated):
- *   text    data     bss     dec     hex filename
- * 759909     604    6684  767197   bb4dd busybox_old
- * 759579     604    6684  766867   bb393 busybox_unstripped
  */
 /* Common for them */
 static const uint8_t ascii64[] = "./0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";

Modified: trunk/busybox/libbb/pw_encrypt_des.c
===================================================================
--- trunk/busybox/libbb/pw_encrypt_des.c	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/libbb/pw_encrypt_des.c	2008-06-16 04:09:25 UTC (rev 22362)
@@ -201,7 +201,7 @@
 static const uint8_t bits8[8] = { 0x80, 0x40, 0x20, 0x10, 0x08, 0x04, 0x02, 0x01 };
 
 
-static int 
+static int
 ascii_to_bin(char ch)
 {
 	if (ch > 'z')
@@ -220,8 +220,8 @@
 }
 
 
-/* Static stuff that stays resident and doesn't change after 
- * being initialized, and therefore doesn't need to be made 
+/* Static stuff that stays resident and doesn't change after
+ * being initialized, and therefore doesn't need to be made
  * reentrant. */
 struct const_des_ctx {
 #if USE_ip_mask

Modified: trunk/busybox/loginutils/Config.in
===================================================================
--- trunk/busybox/loginutils/Config.in	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/loginutils/Config.in	2008-06-16 04:09:25 UTC (rev 22362)
@@ -71,8 +71,8 @@
 	  DES encryption/decryption.
 
 	  For busybox, having large static buffers is undesirable,
-	  especially on NOMMU machines. Busybox also doesn't
-	  need DES encryption/decryption and can do with smaller code.
+	  especially on NOMMU machines. Busybox also doesn't need
+	  DES encryption/decryption and can do with smaller code.
 
 	  If you enable this option, it will add about 4.8k of code
 	  if you are building dynamically linked executable.

Modified: trunk/busybox/modutils/Config.in
===================================================================
--- trunk/busybox/modutils/Config.in	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/modutils/Config.in	2008-06-16 04:09:25 UTC (rev 22362)
@@ -153,10 +153,10 @@
 	default n
 	depends on MODPROBE && FEATURE_2_6_MODULES
 	help
-	  Say 'y' here to enable support for the 'blacklist' command in 
-	  modprobe.conf. This prevents the alias resolver to resolve 
-	  blacklisted modules. This is useful if you want to prevent your 
-	  hardware autodetection scripts to load modules like evdev, frame 
+	  Say 'y' here to enable support for the 'blacklist' command in
+	  modprobe.conf. This prevents the alias resolver to resolve
+	  blacklisted modules. This is useful if you want to prevent your
+	  hardware autodetection scripts to load modules like evdev, frame
 	  buffer drivers etc.
 
 comment "Options common to multiple modutils"

Modified: trunk/busybox/modutils/depmod.c
===================================================================
--- trunk/busybox/modutils/depmod.c	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/modutils/depmod.c	2008-06-16 04:09:25 UTC (rev 22362)
@@ -181,7 +181,7 @@
 			char *shortname = llist_pop(&old_deps);
 
 			while (all) {
-				char *nam = 
+				char *nam =
 					xstrdup(bb_get_last_path_component_nostrip(all->name));
 				char *tmp = strrstr(nam, ".ko");
 

Modified: trunk/busybox/modutils/modprobe.c
===================================================================
--- trunk/busybox/modutils/modprobe.c	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/modutils/modprobe.c	2008-06-16 04:09:25 UTC (rev 22362)
@@ -232,10 +232,10 @@
 #endif /* ENABLE_FEATURE_MODPROBE_MULTIPLE_OPTIONS */
 
 static int is_conf_command(char *buffer, const char *command)
-{ 
+{
 	int len = strlen(command);
 	return ((strstr(buffer, command) == buffer) &&
-			isspace(buffer[len])); 
+			isspace(buffer[len]));
 }
 
 /*
@@ -325,7 +325,7 @@
 				include_conf(first, current, buffer, buflen, fdi);
 				close(fdi);
 			}
-		} else if (ENABLE_FEATURE_MODPROBE_BLACKLIST && 
+		} else if (ENABLE_FEATURE_MODPROBE_BLACKLIST &&
 				(is_conf_command(buffer, "blacklist"))) {
 			char *mod;
 			struct dep_t *dt;

Modified: trunk/busybox/networking/arp.c
===================================================================
--- trunk/busybox/networking/arp.c	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/networking/arp.c	2008-06-16 04:09:25 UTC (rev 22362)
@@ -314,7 +314,7 @@
 		 char *hwa, char *mask, char *dev)
 {
 	static const int arp_masks[] = {
-		ATF_PERM, ATF_PUBL, 
+		ATF_PERM, ATF_PUBL,
 #ifdef HAVE_ATF_MAGIC
 		ATF_MAGIC,
 #endif

Modified: trunk/busybox/util-linux/fdisk_osf.c
===================================================================
--- trunk/busybox/util-linux/fdisk_osf.c	2008-06-15 20:44:15 UTC (rev 22361)
+++ trunk/busybox/util-linux/fdisk_osf.c	2008-06-16 04:09:25 UTC (rev 22362)
@@ -516,7 +516,7 @@
 		printf("disk: %.*s\n", (int) sizeof(lp->d_typename), lp->d_typename);
 		printf("label: %.*s\n", (int) sizeof(lp->d_packname), lp->d_packname);
 		printf("flags: ");
-		print_flags_separated(d_masks, "removable\0""ecc\0""badsect\0", lp->d_flags, " "); 
+		print_flags_separated(d_masks, "removable\0""ecc\0""badsect\0", lp->d_flags, " ");
 		bb_putchar('\n');
 		/* On various machines the fields of *lp are short/int/long */
 		/* In order to avoid problems, we cast them all to long. */




More information about the busybox-cvs mailing list