svn commit: trunk/busybox: docs

aldot at busybox.net aldot at busybox.net
Mon Aug 28 23:39:36 UTC 2006


Author: aldot
Date: 2006-08-28 16:39:36 -0700 (Mon, 28 Aug 2006)
New Revision: 16010

Log:
- it's a mistake to remove lib-specific prefixes from libraries; still the removal should be complete.


Modified:
   trunk/busybox/TODO
   trunk/busybox/docs/new-applet-HOWTO.txt


Changeset:
Modified: trunk/busybox/TODO
===================================================================
--- trunk/busybox/TODO	2006-08-28 23:31:54 UTC (rev 16009)
+++ trunk/busybox/TODO	2006-08-28 23:39:36 UTC (rev 16010)
@@ -255,7 +255,7 @@
   jumps out of the normal flow control and bypasses any cleanup code we
   put at the end of our applets.
 
-  It's possible to add hooks to libbb functions like xmalloc() and bb_xopen()
+  It's possible to add hooks to libbb functions like xmalloc() and xopen()
   to add their entries to a linked list, which could be traversed and
   freed/closed automatically.  (This would need to be able to free just the
   entries after a checkpoint to be usable for a forkless standalone shell.

Modified: trunk/busybox/docs/new-applet-HOWTO.txt
===================================================================
--- trunk/busybox/docs/new-applet-HOWTO.txt	2006-08-28 23:31:54 UTC (rev 16009)
+++ trunk/busybox/docs/new-applet-HOWTO.txt	2006-08-28 23:39:36 UTC (rev 16010)
@@ -40,7 +40,7 @@
 	int fd;
 	char mu;
 
-	fd = bb_xopen("/dev/random", O_RDONLY);
+	fd = xopen("/dev/random", O_RDONLY);
 
 	if ((n = safe_read(fd, &mu, 1)) < 1)
 		bb_perror_msg_and_die("/dev/random");




More information about the busybox-cvs mailing list