CVS update: samba/source/lib

abartlet at samba.org abartlet at samba.org
Wed May 22 22:44:44 EST 2002


Date:	Wed May 22 05:44:44 2002
Author:	abartlet

Update of /data/cvs/samba/source/lib
In directory va:/tmp/cvs-serv22644/lib

Modified Files:
	sysacls.c system.c util.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:
sysacls.c		1.37 => 1.38
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/sysacls.c?r1=1.37&r2=1.38
system.c		1.85 => 1.86
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/system.c?r1=1.85&r2=1.86
util.c		1.367 => 1.368
	http://www.samba.org/cgi-bin/cvsweb/samba/source/lib/util.c?r1=1.367&r2=1.368




More information about the samba-cvs mailing list