diff options
Diffstat (limited to 'libbb/obscure.c')
-rw-r--r-- | libbb/obscure.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 | |||
109 | if (string_checker(new_p, pw->pw_name)) { | 109 | if (string_checker(new_p, pw->pw_name)) { |
110 | return "similar to username"; | 110 | return "similar to username"; |
111 | } | 111 | } |
112 | #ifndef __BIONIC__ | ||
112 | /* no gecos as-is, as sub-string, reversed, capitalized, doubled */ | 113 | /* no gecos as-is, as sub-string, reversed, capitalized, doubled */ |
113 | if (pw->pw_gecos[0] && string_checker(new_p, pw->pw_gecos)) { | 114 | if (pw->pw_gecos[0] && string_checker(new_p, pw->pw_gecos)) { |
114 | return "similar to gecos"; | 115 | return "similar to gecos"; |
115 | } | 116 | } |
117 | #endif | ||
116 | /* hostname as-is, as sub-string, reversed, capitalized, doubled */ | 118 | /* hostname as-is, as sub-string, reversed, capitalized, doubled */ |
117 | hostname = safe_gethostname(); | 119 | hostname = safe_gethostname(); |
118 | i = string_checker(new_p, hostname); | 120 | i = string_checker(new_p, hostname); |