- it's a mistake to remove lib-specific prefixes from libraries; still the removal should be complete.
This commit is contained in:
parent
73561cc75a
commit
8c1eda528a
2
TODO
2
TODO
@ -255,7 +255,7 @@ FEATURE_CLEAN_UP
|
|||||||
jumps out of the normal flow control and bypasses any cleanup code we
|
jumps out of the normal flow control and bypasses any cleanup code we
|
||||||
put at the end of our applets.
|
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
|
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
|
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.
|
entries after a checkpoint to be usable for a forkless standalone shell.
|
||||||
|
@ -40,7 +40,7 @@ int mu_main(int argc, char **argv)
|
|||||||
int fd;
|
int fd;
|
||||||
char mu;
|
char mu;
|
||||||
|
|
||||||
fd = bb_xopen("/dev/random", O_RDONLY);
|
fd = xopen("/dev/random", O_RDONLY);
|
||||||
|
|
||||||
if ((n = safe_read(fd, &mu, 1)) < 1)
|
if ((n = safe_read(fd, &mu, 1)) < 1)
|
||||||
bb_perror_msg_and_die("/dev/random");
|
bb_perror_msg_and_die("/dev/random");
|
||||||
|
Loading…
Reference in New Issue
Block a user