aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-04 14:13:58 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-04 14:13:58 +0100
commit834aba3b72cb0e45153b95fed991522f7f1986c9 (patch)
tree64933338d889ae66ec0f8b7a85efc391d36d57b4
parent79e2598c48ad7e41d523f62368454c7d74f48268 (diff)
downloadbusybox-w32-834aba3b72cb0e45153b95fed991522f7f1986c9.tar.gz
busybox-w32-834aba3b72cb0e45153b95fed991522f7f1986c9.tar.bz2
busybox-w32-834aba3b72cb0e45153b95fed991522f7f1986c9.zip
comment and readme updates
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--libbb/common_bufsiz.c9
-rw-r--r--loginutils/README2
2 files changed, 10 insertions, 1 deletions
diff --git a/libbb/common_bufsiz.c b/libbb/common_bufsiz.c
index 1a3585169..2847eb57d 100644
--- a/libbb/common_bufsiz.c
+++ b/libbb/common_bufsiz.c
@@ -54,6 +54,15 @@ char bb_common_bufsiz1[COMMON_BUFSIZE] ALIGNED(sizeof(long long));
54#else 54#else
55 55
56# ifndef setup_common_bufsiz 56# ifndef setup_common_bufsiz
57/* For now, this is never used:
58 * scripts/generate_BUFSIZ.sh never generates "malloced" bufsiz1:
59 * enum { COMMON_BUFSIZE = 1024 };
60 * extern char *const bb_common_bufsiz1;
61 * void setup_common_bufsiz(void);
62 * This has proved to be worse than the approach of defining
63 * larger bb_common_bufsiz1[] array.
64 */
65
57/* 66/*
58 * It is not defined as a dummy macro. 67 * It is not defined as a dummy macro.
59 * It means we have to provide this function. 68 * It means we have to provide this function.
diff --git a/loginutils/README b/loginutils/README
index ce8851097..847b371b3 100644
--- a/loginutils/README
+++ b/loginutils/README
@@ -23,7 +23,7 @@ Getty should establish a new session and process group, and ensure
23that tty is a ctty. 23that tty is a ctty.
24 24
25??? Should getty ensure that other processes which might have opened 25??? Should getty ensure that other processes which might have opened
26fds to this tty be dusconnected? agetty has a -R option which makes 26fds to this tty be disconnected? agetty has a -R option which makes
27agetty call vhangup() after tty is opened. (Then agetty opens it again, 27agetty call vhangup() after tty is opened. (Then agetty opens it again,
28since it probably vhangup'ed its own fd too). 28since it probably vhangup'ed its own fd too).
29 29