From: Denis Vlasenko Date: Sat, 25 Apr 2009 13:26:10 +0000 (-0000) Subject: shrink if FEATURE_SHADOWPASSWDS is off X-Git-Tag: 1_15_0~281 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=5bf59c104af94e918ce879352f27b40099bf51be;p=oweals%2Fbusybox.git shrink if FEATURE_SHADOWPASSWDS is off --- diff --git a/libbb/update_passwd.c b/libbb/update_passwd.c index 35b89a5b4..aa1e2ed08 100644 --- a/libbb/update_passwd.c +++ b/libbb/update_passwd.c @@ -100,7 +100,7 @@ int FAST_FUNC update_passwd(const char *filename, name = xasprintf("%s:", name); user_len = strlen(name); - if (strstr(filename, "shadow")) + if (ENABLE_FEATURE_SHADOWPASSWDS && strstr(filename, "shadow")) old_fp = fopen(filename, "r+"); else old_fp = fopen_or_warn(filename, "r+");