From 8f6ce094dc780010e51e38bf96b9d107cefdd4b6 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 8 Jul 2011 08:34:28 +0200 Subject: a few tweaks for bionic Signed-off-by: Denys Vlasenko --- libbb/obscure.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libbb/obscure.c') diff --git a/libbb/obscure.c b/libbb/obscure.c index dd8cd319a..9ecc1f672 100644 --- a/libbb/obscure.c +++ b/libbb/obscure.c @@ -109,10 +109,12 @@ static const char *obscure_msg(const char *old_p, const char *new_p, const struc if (string_checker(new_p, pw->pw_name)) { return "similar to username"; } +#ifndef __BIONIC__ /* no gecos as-is, as sub-string, reversed, capitalized, doubled */ if (pw->pw_gecos[0] && string_checker(new_p, pw->pw_gecos)) { return "similar to gecos"; } +#endif /* hostname as-is, as sub-string, reversed, capitalized, doubled */ hostname = safe_gethostname(); i = string_checker(new_p, hostname); -- cgit v1.2.3