changeset 528:878b94b32866

Comment and whitespace tweaks.
author Rob Landley <rob@landley.net>
date Tue, 06 Mar 2012 20:48:27 -0600
parents a3116cb7ba1e
children b93517f238d1
files scripts/make.sh toys/cp.c toys/free.c toys/setsid.c toys/whoami.c
diffstat 5 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/scripts/make.sh	Mon Mar 05 23:15:50 2012 -0600
+++ b/scripts/make.sh	Tue Mar 06 20:48:27 2012 -0600
@@ -7,7 +7,7 @@
 echo "Extract configuration information from toys/*.c files..."
 scripts/genconfig.sh
 
-echo "Generate headers from toys/*.h..."
+echo "Generate headers from toys/*.c..."
 
 # Create a list of all the applets toybox can provide.  Note that the first
 # entry is out of order on purpose (the toybox multiplexer applet must be the
--- a/toys/cp.c	Mon Mar 05 23:15:50 2012 -0600
+++ b/toys/cp.c	Tue Mar 06 20:48:27 2012 -0600
@@ -180,7 +180,7 @@
 		char *src = toys.optargs[i];
 		char *dst;
 
-		// Skip src==dest (should check inodes to catch "cp blah ./blah").
+		// Skip src==dest (TODO check inodes to catch "cp blah ./blah").
 
 		if (!strcmp(src, TT.destname)) continue;
 
--- a/toys/free.c	Mon Mar 05 23:15:50 2012 -0600
+++ b/toys/free.c	Tue Mar 06 20:48:27 2012 -0600
@@ -16,6 +16,7 @@
 
 	  Display the total, free and used amount of physical memory and
 	  swap space.
+
 	  -bkmg    Output in bytes (default), KB, MB or GB
 */
 
--- a/toys/setsid.c	Mon Mar 05 23:15:50 2012 -0600
+++ b/toys/setsid.c	Tue Mar 06 20:48:27 2012 -0600
@@ -4,8 +4,7 @@
  *
  * Copyright 2006 Rob Landley <rob@landley.net>
  *
- * Not in SUSv3.
- * See http://www.opengroup.org/onlinepubs/009695399/utilities/
+ * Not in SUSv4.
 
 USE_SETSID(NEWTOY(setsid, "^<1t", TOYFLAG_USR|TOYFLAG_BIN))
 
--- a/toys/whoami.c	Mon Mar 05 23:15:50 2012 -0600
+++ b/toys/whoami.c	Tue Mar 06 20:48:27 2012 -0600
@@ -13,7 +13,7 @@
 	help
 	  usage: whoami
 
-	  Print effective user id.
+	  Print effective user name.
 */
 
 #include "toys.h"