OSDN Git Service

Fix some comments from way back when toybox first started (in 2006), when I was still...
authorRob Landley <rob@landley.net>
Sun, 21 Apr 2013 17:15:59 +0000 (12:15 -0500)
committerRob Landley <rob@landley.net>
Sun, 21 Apr 2013 17:15:59 +0000 (12:15 -0500)
main.c
toys.h

diff --git a/main.c b/main.c
index 9370efd..ac49e9b 100644 (file)
--- a/main.c
+++ b/main.c
@@ -16,7 +16,7 @@ struct toy_list toy_list[] = {
 #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 @@ struct toy_list *toy_find(char *name)
   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 @@ void toybox_main(void)
     }
   }
 
-  // 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) {
diff --git a/toys.h b/toys.h
index 9563143..019c1b5 100644 (file)
--- a/toys.h
+++ b/toys.h
@@ -89,7 +89,7 @@ void toy_exec(char *argv[]);
 #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;