shadow/libmisc
nekral-guest 7baffa5e74 Ensure that getpwent() is used in setpwent(), getpwent(),
endpwend() sequences (ditto for getgrent(), getspent(), and
getsgent()). The only real (minor) issue was in login, which kept
the passwd file open.
* libmisc/entry.c: Remove unneeded setspent() and endspent() (only
  getspnam is called in the middle).
* libmisc/find_new_ids.c: Make sure to close the password and
  group files with endpwent() and endgrent().
* libmisc/pwdcheck.c: Remove unneeded endspent() (only getspnam()
  is called before).
* src/lastlog.c, src/passwd.c, src/groupmod.c, src/faillog.c,
  src/groups.c: Make sure to close
  the password file with endpwent().
* src/login.c: Remove unneeded setpwent() (only xgetpwnam is
  called before).
* src/login.c, src/newgrp.c: Fix typos in comments.
2008-04-16 21:52:46 +00:00
..
.indent.pro Commit the last version from the PLD CVS repository. 2007-10-07 14:36:51 +00:00
addgrps.c Replace printf by puts for fixed strings. This would avoid issues caused 2008-01-24 21:07:14 +00:00
age.c * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c, 2008-02-03 16:28:03 +00:00
audit_help.c Avoid empty file when WITH_AUDIT is not set. 2008-01-01 14:20:36 +00:00
basename.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chkname.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chkname.h Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chowndir.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
chowntty.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
console.c * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c, 2008-01-06 11:59:01 +00:00
copydir.c Remove the src parameter of copy_special(). 2008-01-06 12:02:24 +00:00
entry.c Ensure that getpwent() is used in setpwent(), getpwent(), 2008-04-16 21:52:46 +00:00
env.c Replace printf by puts for fixed strings. This would avoid issues caused 2008-01-24 21:07:14 +00:00
failure.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
failure.h Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
fields.c Merge Debian's patch 466_fflush-prompt 2007-12-26 16:50:38 +00:00
find_new_ids.c Ensure that getpwent() is used in setpwent(), getpwent(), 2008-04-16 21:52:46 +00:00
getdate.h [svn-upgrade] Integrating new upstream version, shadow (4.0.8) 2007-10-07 11:46:07 +00:00
getdate.y * libmisc/obscure.c: Tag the `old' parameter of palindrome(), 2008-01-06 13:20:25 +00:00
getlong.c * src/chpasswd.c: Added crypt method: NONE. 2007-11-23 20:09:57 +00:00
hushed.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
isexpired.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
limits.c Replace printf by puts for fixed strings. This would avoid issues caused 2008-01-24 21:07:14 +00:00
list.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
log.c * lib/prototypes.h: Add the dolastlog() prototype. 2008-01-05 16:44:28 +00:00
loginprompt.c * libmisc/obscure.c: Tag the `old' parameter of palindrome(), 2008-01-06 13:20:25 +00:00
mail.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
Makefile.am Add libmisc/find_new_ids.c to the sources of the libmisc library. 2008-02-03 16:57:21 +00:00
motd.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
myname.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
obscure.c * libmisc/obscure.c: Tag the `old' parameter of palindrome(), 2008-01-06 13:20:25 +00:00
pam_pass.c do_pam_passwd should not have been defined static, prototypes.h needed 2008-01-05 15:41:58 +00:00
pwd2spwd.c Fix time () prototype. 2007-12-08 23:25:52 +00:00
pwd_init.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
pwdcheck.c Ensure that getpwent() is used in setpwent(), getpwent(), 2008-04-16 21:52:46 +00:00
rlogin.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
salt.c Do not seed the random number generator each time, and use the time in 2008-02-03 17:23:58 +00:00
setugid.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
setupenv.c Merge Debian's patch 451_login_PATH 2007-12-26 23:15:43 +00:00
shell.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
strtoday.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
sub.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
sulog.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
ttytype.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
tz.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
ulimit.c * libmisc/console.c, libmisc/ulimit.c, lib/sgetgrent.c, 2008-01-06 11:59:01 +00:00
utmp.c Remove the declaration of getutent(), getutline(), setutent(), and 2008-01-05 14:09:56 +00:00
valid.c Added the subversion svn:keywords property (Id) for proper identification. 2007-11-10 23:46:11 +00:00
xgetgrgid.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetgrnam.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetpwnam.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetpwuid.c * lib/prototypes.h, configure.in, libmisc/Makefile.am, 2007-11-18 23:15:26 +00:00
xgetspnam.c Add missing include "shadowio.h". (This was OK as long as prototypes.h included this file.) 2008-01-05 13:40:49 +00:00
xgetXXbyYY.c Include config.h as a system include, as recommended by the autoconf documentation. 2008-01-05 13:32:32 +00:00
xmalloc.c Include "prototypes.h" to make sure the exported prototypes are 2008-01-05 13:23:22 +00:00
yesno.c * libmisc/age.c, libmisc/yesno.c, src/lastlog.c, src/grpck.c, 2008-02-03 16:28:03 +00:00