[git commit] comment and readme updates

Denys Vlasenko vda.linux at googlemail.com
Fri Nov 4 13:13:58 UTC 2016


commit: https://git.busybox.net/busybox/commit/?id=834aba3b72cb0e45153b95fed991522f7f1986c9
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 libbb/common_bufsiz.c | 9 +++++++++
 loginutils/README     | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)

diff --git a/libbb/common_bufsiz.c b/libbb/common_bufsiz.c
index 1a35851..2847eb5 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));
 #else
 
 # ifndef setup_common_bufsiz
+/* For now, this is never used:
+ * scripts/generate_BUFSIZ.sh never generates "malloced" bufsiz1:
+ *	enum { COMMON_BUFSIZE = 1024 };
+ *	extern char *const bb_common_bufsiz1;
+ *	void setup_common_bufsiz(void);
+ * This has proved to be worse than the approach of defining
+ * larger bb_common_bufsiz1[] array.
+ */
+
 /*
  * It is not defined as a dummy macro.
  * It means we have to provide this function.
diff --git a/loginutils/README b/loginutils/README
index ce88510..847b371 100644
--- a/loginutils/README
+++ b/loginutils/README
@@ -23,7 +23,7 @@ Getty should establish a new session and process group, and ensure
 that tty is a ctty.
 
 ??? Should getty ensure that other processes which might have opened
-fds to this tty be dusconnected? agetty has a -R option which makes
+fds to this tty be disconnected? agetty has a -R option which makes
 agetty call vhangup() after tty is opened. (Then agetty opens it again,
 since it probably vhangup'ed its own fd too).
 


More information about the busybox-cvs mailing list