changeset 873:d90f14e011b8

Fix some comments from way back when toybox first started (in 2006), when I was still cleaning busybox-isms out of my head...
author Rob Landley <rob@landley.net>
date Sun, 21 Apr 2013 12:15:59 -0500
parents 793972c94560
children c326f55c74bd
files main.c toys.h
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/main.c	Sat Apr 20 00:18:17 2013 +0200
+++ b/main.c	Sun Apr 21 12:15:59 2013 -0500
@@ -16,7 +16,7 @@
 #include "generated/newtoys.h"
 };
 
-// global context for this applet.
+// global context for this command.
 
 struct toy_context toys;
 union global_union this;
@@ -32,7 +32,7 @@
   if (!strncmp(name,"toybox",6)) return toy_list;
   bottom = 1;
 
-  // Binary search to find this applet.
+  // Binary search to find this command.
 
   top = ARRAY_LEN(toy_list)-1;
   for (;;) {
@@ -123,7 +123,7 @@
     }
   }
 
-  // Output list of applets.
+  // Output list of command.
   for (i=1; i<ARRAY_LEN(toy_list); i++) {
     int fl = toy_list[i].flags;
     if (fl & TOYMASK_LOCATION) {
--- a/toys.h	Sat Apr 20 00:18:17 2013 +0200
+++ b/toys.h	Sun Apr 21 12:15:59 2013 -0500
@@ -89,7 +89,7 @@
 #define TOYFLAG_NEEDROOT (1<<7)
 #define TOYFLAG_ROOTONLY (TOYFLAG_STAYROOT|TOYFLAG_NEEDROOT)
 
-// Array of available applets
+// Array of available commands
 
 extern struct toy_list {
   char *name;