aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2020-12-17 11:22:44 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2020-12-17 11:22:44 +0100
commit072313162870e9675c3e6f346a804a324a907f93 (patch)
tree738f3dc4f7aea9d62ad10c06ed8f8244eef4be44 /libbb
parentbb15969333d0476256c92edc068894a50d9159d4 (diff)
downloadbusybox-w32-072313162870e9675c3e6f346a804a324a907f93.tar.gz
busybox-w32-072313162870e9675c3e6f346a804a324a907f93.tar.bz2
busybox-w32-072313162870e9675c3e6f346a804a324a907f93.zip
Fixes for Hurd build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libbb')
-rw-r--r--libbb/die_if_bad_username.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libbb/die_if_bad_username.c b/libbb/die_if_bad_username.c
index e5e1160c4..d05dc74c5 100644
--- a/libbb/die_if_bad_username.c
+++ b/libbb/die_if_bad_username.c
@@ -8,6 +8,10 @@
8 */ 8 */
9#include "libbb.h" 9#include "libbb.h"
10 10
11#ifndef LOGIN_NAME_MAX
12#define LOGIN_NAME_MAX 256
13#endif
14
11/* To avoid problems, the username should consist only of 15/* To avoid problems, the username should consist only of
12 * letters, digits, underscores, periods, at signs and dashes, 16 * letters, digits, underscores, periods, at signs and dashes,
13 * and not start with a dash (as defined by IEEE Std 1003.1-2001). 17 * and not start with a dash (as defined by IEEE Std 1003.1-2001).