1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/testsuite/nsswitch
Slava Semushin 3f5403220f testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition.
When fopen() fails it return NULL, so condition where return value
less than zero never evaluated to truth.

Found by cppcheck.
2009-06-06 22:45:02 +02:00
..
bigfd.c
bigfd.exp
domusers.exp
envvar.exp
finger.exp
getent_grent.c
getent_pwent.c
getent_r.sh
getent.c r23800: LGPL is now called GNU Lesser General Public License 2007-10-10 12:28:26 -05:00
getent.exp
getgrent_r.c testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition. 2009-06-06 22:45:02 +02:00
getgrent_r.exp
getgrgid.c
getgrgid.exp
getgrnam.c
getgrnam.exp
getpwent_r.c testsuite/nsswitch/get{gr,pw}ent_r.c(dump_{gr,pw}ent): fixed wrong condition. 2009-06-06 22:45:02 +02:00
getpwent_r.exp
getpwnam.c
getpwnam.exp
getpwuid.c
getpwuid.exp
groupmem_dom.exp
initgroups.c
initgroups.exp
login.exp
longarg_getgrnam.c
longarg_getpwnam.c
longarg_utils.h
longarg.exp
Makefile.longarg
nss_winbind_syms.c
nss_winbind_syms.exp
pam_winbind_syms.c
pam_winbind_syms.exp
wbinfo.exp