summaryrefslogtreecommitdiff
path: root/source3/lib/cmd_interp.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-03-17 03:36:38 +0000
committerJeremy Allison <jra@samba.org>2001-03-17 03:36:38 +0000
commit0dfc30cf87ab3b5746701034150e3a6400857148 (patch)
treecd4243ccb69598cbfb80d27a6fa4e7274f5cdbaa /source3/lib/cmd_interp.c
parent70c812e6aee0fa9b10b660f4051cc5460c023917 (diff)
downloadsamba-0dfc30cf87ab3b5746701034150e3a6400857148.tar.gz
samba-0dfc30cf87ab3b5746701034150e3a6400857148.tar.bz2
samba-0dfc30cf87ab3b5746701034150e3a6400857148.zip
lib/system.c (Finally) fixed all insure errors in password caching code. We can't
stop libc routines from calling getpwXXX functions, so caching a pointer to them is impossible. This new code now makes two copies of the returned struct passwd struct - one used as a cache, one returned to allow the caller to modify. When doing a lookup we compare against the cached copy. Code is now easier to understand also. smbd/posix_acls.c: If we move the head of the linked list, remember to pass a reference to that pointer..... Jeremy. (This used to be commit af364b93d92f70aa52195c46d3cc516830752609)
Diffstat (limited to 'source3/lib/cmd_interp.c')
0 files changed, 0 insertions, 0 deletions