diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-08-28 23:39:36 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2006-08-28 23:39:36 +0000 |
commit | 8c1eda528a19b8af18568649e8d2b1ba5bda772e (patch) | |
tree | 86a919cdb73830bfb7e17f35f3e1615432b6157d | |
parent | 73561cc75ac31e63bcab4b4ebfaf738e4ca225e6 (diff) | |
download | busybox-8c1eda528a19b8af18568649e8d2b1ba5bda772e.tar.gz |
- it's a mistake to remove lib-specific prefixes from libraries; still the removal should be complete.
-rw-r--r-- | TODO | 2 | ||||
-rw-r--r-- | docs/new-applet-HOWTO.txt | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -255,7 +255,7 @@ FEATURE_CLEAN_UP 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. diff --git a/docs/new-applet-HOWTO.txt b/docs/new-applet-HOWTO.txt index 7acc80bb2..1c2383f35 100644 --- a/docs/new-applet-HOWTO.txt +++ b/docs/new-applet-HOWTO.txt @@ -40,7 +40,7 @@ int mu_main(int argc, char **argv) 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"); |