diff options
| author | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-08-28 23:39:36 +0000 |
|---|---|---|
| committer | aldot <aldot@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2006-08-28 23:39:36 +0000 |
| commit | ad8f6a3513f8b54f4e80adfcc22cab37dce40a2b (patch) | |
| tree | 86a919cdb73830bfb7e17f35f3e1615432b6157d | |
| parent | d52f45a484fc7fc049ab40db9adc6ead7ea9b122 (diff) | |
| download | busybox-w32-ad8f6a3513f8b54f4e80adfcc22cab37dce40a2b.tar.gz busybox-w32-ad8f6a3513f8b54f4e80adfcc22cab37dce40a2b.tar.bz2 busybox-w32-ad8f6a3513f8b54f4e80adfcc22cab37dce40a2b.zip | |
- it's a mistake to remove lib-specific prefixes from libraries; still the removal should be complete.
git-svn-id: svn://busybox.net/trunk/busybox@16010 69ca8d6d-28ef-0310-b511-8ec308f3f277
| -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 | |||
| 255 | jumps out of the normal flow control and bypasses any cleanup code we | 255 | jumps out of the normal flow control and bypasses any cleanup code we |
| 256 | put at the end of our applets. | 256 | put at the end of our applets. |
| 257 | 257 | ||
| 258 | It's possible to add hooks to libbb functions like xmalloc() and bb_xopen() | 258 | It's possible to add hooks to libbb functions like xmalloc() and xopen() |
| 259 | to add their entries to a linked list, which could be traversed and | 259 | to add their entries to a linked list, which could be traversed and |
| 260 | freed/closed automatically. (This would need to be able to free just the | 260 | freed/closed automatically. (This would need to be able to free just the |
| 261 | entries after a checkpoint to be usable for a forkless standalone shell. | 261 | 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) | |||
| 40 | int fd; | 40 | int fd; |
| 41 | char mu; | 41 | char mu; |
| 42 | 42 | ||
| 43 | fd = bb_xopen("/dev/random", O_RDONLY); | 43 | fd = xopen("/dev/random", O_RDONLY); |
| 44 | 44 | ||
| 45 | if ((n = safe_read(fd, &mu, 1)) < 1) | 45 | if ((n = safe_read(fd, &mu, 1)) < 1) |
| 46 | bb_perror_msg_and_die("/dev/random"); | 46 | bb_perror_msg_and_die("/dev/random"); |
