Remove the preprocessor check SHADOWPWD. The variable is no more defined

(and always assumed).  Debian patch 493_pwck_no_SHADOWPWD.
This commit is contained in:
nekral-guest 2007-11-17 16:50:26 +00:00
parent 5bcc89ffe7
commit fb6cb07a60
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/pwck.c: Remove the preprocessor check SHADOWPWD. The
variable is no more defined (and always assumed).
Debian patch 493_pwck_no_SHADOWPWD.
2007-11-17 Nicolas François <nicolas.francois@centraliens.net> 2007-11-17 Nicolas François <nicolas.francois@centraliens.net>
* NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the * NEWS, src/passwd.c, man/passwd.1.xml: -l/-u options: edit the

2
NEWS
View File

@ -37,6 +37,8 @@ shadow-4.0.18.1 -> shadow-4.0.18.2 UNRELEASED
her primary group. Debian patch 497_newgrp_primary_group. her primary group. Debian patch 497_newgrp_primary_group.
- passwd: -l/-u options: edit the shadow account expiry field *in - passwd: -l/-u options: edit the shadow account expiry field *in
addition* to editing the password field. Debian patch 494_passwd_lock. addition* to editing the password field. Debian patch 494_passwd_lock.
- pwck: Remove the SHADOWPWD preprocessor check. Some check for /etc/shadow
were always missing.
shadow-4.0.18.1 -> shadow-4.0.18.2 28-10-2007 shadow-4.0.18.1 -> shadow-4.0.18.2 28-10-2007

View File

@ -368,7 +368,7 @@ int main (int argc, char **argv)
pwd->pw_name, pwd->pw_shell); pwd->pw_name, pwd->pw_shell);
errors++; errors++;
} }
#ifdef SHADOWPWD
/* /*
* Make sure this entry exists in the /etc/gshadow file. * Make sure this entry exists in the /etc/gshadow file.
*/ */
@ -421,7 +421,6 @@ int main (int argc, char **argv)
} }
} }
} }
#endif
} }
if (!is_shadow) if (!is_shadow)