svn commit: trunk/busybox: editors include libbb miscutils networki etc...

vda at busybox.net vda at busybox.net
Tue Jul 17 21:43:01 UTC 2007


Author: vda
Date: 2007-07-17 14:42:59 -0700 (Tue, 17 Jul 2007)
New Revision: 19145

Log:
remove accumulated stray trailing whitespace



Modified:
   trunk/busybox/editors/vi.c
   trunk/busybox/include/usage.h
   trunk/busybox/libbb/procps.c
   trunk/busybox/miscutils/devfsd.c
   trunk/busybox/miscutils/hdparm.c
   trunk/busybox/networking/pscan.c
   trunk/busybox/networking/udhcp/leases.c
   trunk/busybox/networking/udhcp/socket.c


Changeset:
Modified: trunk/busybox/editors/vi.c
===================================================================
--- trunk/busybox/editors/vi.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/editors/vi.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -426,7 +426,7 @@
 	if (fn != 0) {
 		ch = file_insert(fn, text);
 		update_ro_status(fn);
-	} 
+	}
 	if (ch < 1) {
 		char_insert(text, '\n');	// start empty buf with dummy line
 	}
@@ -2404,7 +2404,7 @@
 	return cnt;
 }
 
-static int file_insert(char * fn, char * p) 
+static int file_insert(char *fn, char *p)
 {
 	int cnt = -1;
 	int fd, size;

Modified: trunk/busybox/include/usage.h
===================================================================
--- trunk/busybox/include/usage.h	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/include/usage.h	2007-07-17 21:42:59 UTC (rev 19145)
@@ -3005,7 +3005,7 @@
      "\n	-m	Do NOT initialize the line in raw 8 bits mode" \
      "\n	-L	Enable 3-wire operation" \
      "\n	-F	Disable RTS/CTS flow control" \
- 
+
 #define sleep_trivial_usage \
 	USE_FEATURE_FANCY_SLEEP("[") "N" USE_FEATURE_FANCY_SLEEP("]...")
 #define sleep_full_usage \

Modified: trunk/busybox/libbb/procps.c
===================================================================
--- trunk/busybox/libbb/procps.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/libbb/procps.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -5,7 +5,7 @@
  * Copyright 1998 by Albert Cahalan; all rights reserved.
  * Copyright (C) 2002 by Vladimir Oleynik <dzo at simtreas.ru>
  * SELinux support: (c) 2007 by Yuichi Nakamura <ynakam at hitachisoft.jp>
- * 
+ *
  * Licensed under GPLv2 or later, see file LICENSE in this tarball for details.
  */
 

Modified: trunk/busybox/miscutils/devfsd.c
===================================================================
--- trunk/busybox/miscutils/devfsd.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/miscutils/devfsd.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -689,9 +689,9 @@
 		msg_logger(LOG_ERR, "lost %u events", info->overrun_count);
 
 	/*  Discard lookups on "/dev/log" and "/dev/initctl"  */
-	if (info->type == DEVFSD_NOTIFY_LOOKUP 
+	if (info->type == DEVFSD_NOTIFY_LOOKUP
 		&& ((info->devname[0] == 'l' && info->devname[1] == 'o'
-		&& info->devname[2] == 'g' && !info->devname[3]) 
+		&& info->devname[2] == 'g' && !info->devname[3])
 		|| (info->devname[0] == 'i' && info->devname[1] == 'n'
 		&& info->devname[2] == 'i' && info->devname[3] == 't'
 		&& info->devname[4] == 'c' && info->devname[5] == 't'
@@ -701,7 +701,7 @@
 
 	for (entry = first_config; entry != NULL; entry = entry->next) {
 		/*  First check if action matches the type, then check if name matches */
-		if (info->type != entry->action.when 
+		if (info->type != entry->action.when
 		|| regexec(&entry->preg, info->devname, MAX_SUBEXPR, mbuf, 0) != 0)
 			continue;
 		for (n = 0;(n < MAX_SUBEXPR) && (mbuf[n].rm_so != -1); ++n)

Modified: trunk/busybox/miscutils/hdparm.c
===================================================================
--- trunk/busybox/miscutils/hdparm.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/miscutils/hdparm.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -1831,7 +1831,7 @@
 		} else if (errno == -ENOMSG)
 			printf(" no identification info available\n");
 		else if (ENABLE_IOCTL_HEX2STR_ERROR)  /* To be coherent with ioctl_or_warn */
-			bb_perror_msg("HDIO_GET_IDENTITY"); 
+			bb_perror_msg("HDIO_GET_IDENTITY");
 		else
 			bb_perror_msg("ioctl %#x failed", HDIO_GET_IDENTITY);
 	}

Modified: trunk/busybox/networking/pscan.c
===================================================================
--- trunk/busybox/networking/pscan.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/networking/pscan.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -36,7 +36,7 @@
 	const char *opt_max_port = "1024";      /* -P: default max port */
 	const char *opt_min_port = "1";         /* -p: default min port */
 	const char *opt_timeout = "5000";       /* -t: default timeout in msec */
-	/* We estimate rtt and wait rtt*4 before concluding that port is 
+	/* We estimate rtt and wait rtt*4 before concluding that port is
 	 * totally blocked. min rtt of 5 ms may be too low if you are
 	 * scanning an Internet host behind saturated/traffic shaped link.
 	 * Rule of thumb: with min_rtt of N msec, scanning 1000 ports

Modified: trunk/busybox/networking/udhcp/leases.c
===================================================================
--- trunk/busybox/networking/udhcp/leases.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/networking/udhcp/leases.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -138,7 +138,7 @@
 
 			/* no lease or it expired and we are checking for expired leases */
 			if ((!lease || (check_expired && lease_expired(lease)))
-			 && nobody_responds_to_arp(ret) /* it isn't used on the network */ 
+			 && nobody_responds_to_arp(ret) /* it isn't used on the network */
 			) {
 				return ret;
 			}

Modified: trunk/busybox/networking/udhcp/socket.c
===================================================================
--- trunk/busybox/networking/udhcp/socket.c	2007-07-17 20:39:27 UTC (rev 19144)
+++ trunk/busybox/networking/udhcp/socket.c	2007-07-17 21:42:59 UTC (rev 19145)
@@ -53,7 +53,7 @@
 	ifr.ifr_addr.sa_family = AF_INET;
 	strncpy(ifr.ifr_name, interface, sizeof(ifr.ifr_name));
 	if (addr) {
-		if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr, 
+		if (ioctl_or_perror(fd, SIOCGIFADDR, &ifr,
 			"is interface %s up and configured?", interface)
 		) {
 			close(fd);




More information about the busybox-cvs mailing list