CVS update: samba/source/utils
abartlet at samba.org
abartlet at samba.org
Wed May 22 22:44:46 EST 2002
Date: Wed May 22 05:44:46 2002
Author: abartlet
Update of /data/cvs/samba/source/utils
In directory va:/tmp/cvs-serv22644/utils
Modified Files:
smbpasswd.c status.c
Log Message:
Add a bit more const, and kill of (finally!) sys_getpwnam and sys_getpwuid.
These might be reimplmented as simple pass-through functions, but all users
really should be doing 'getpwnam_alloc' or 'getpwuid_alloc' to ensure that
there are not shared static buffers.
I don't beleive we actually need a getpw*() cache inside samba - if we do
then I think we should look at our code design first.
(some of these changes are for platforms I don't have access to, but
they look sane)
Andrew Bartlett
Revisions:
smbpasswd.c 1.142 => 1.143
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/smbpasswd.c?r1=1.142&r2=1.143
status.c 1.73 => 1.74
http://www.samba.org/cgi-bin/cvsweb/samba/source/utils/status.c?r1=1.73&r2=1.74
More information about the samba-cvs
mailing list