svn commit: trunk/busybox/procps

vda at busybox.net vda at busybox.net
Sun May 6 22:51:52 UTC 2007


Author: vda
Date: 2007-05-06 15:51:52 -0700 (Sun, 06 May 2007)
New Revision: 18568

Log:
kill: improve comment


Modified:
   trunk/busybox/procps/kill.c


Changeset:
Modified: trunk/busybox/procps/kill.c
===================================================================
--- trunk/busybox/procps/kill.c	2007-05-06 22:48:55 UTC (rev 18567)
+++ trunk/busybox/procps/kill.c	2007-05-06 22:51:52 UTC (rev 18568)
@@ -36,7 +36,8 @@
 #else
 /* How to determine who we are? find 3rd char from the end:
  * kill, killall, killall5
- *  ^i       ^a        ^l */
+ *  ^i       ^a        ^l  - it's unique
+ * (checking from the start is complicated by /bin/kill... case) */
 	const char char3 = argv[0][strlen(argv[0]) - 3];
 #define killall (ENABLE_KILLALL && char3 == 'a')
 #define killall5 (ENABLE_KILLALL5 && char3 == 'l')




More information about the busybox-cvs mailing list