summaryrefslogtreecommitdiff
path: root/source3/param/params.c
diff options
context:
space:
mode:
authorChristopher R. Hertel <crh@samba.org>1997-10-16 01:03:18 +0000
committerChristopher R. Hertel <crh@samba.org>1997-10-16 01:03:18 +0000
commit50147ca41c12694b9658c15ddf4b2d8b4e1d4746 (patch)
tree1284c2cb4dec2e0218ef429269fece3ddb94a69c /source3/param/params.c
parentb525c170261a9fc7aacf1329e7ca96213b299f36 (diff)
downloadsamba-50147ca41c12694b9658c15ddf4b2d8b4e1d4746.tar.gz
samba-50147ca41c12694b9658c15ddf4b2d8b4e1d4746.tar.bz2
samba-50147ca41c12694b9658c15ddf4b2d8b4e1d4746.zip
Made changes to the dir cache functions:
- They now use the ubi_dLinkList linked list code. This is not a big gain, I suppose. It would be significant if there were lots of doubly-linked lists in the code and I replaced them all. The only other advantage is that the code is more modular, which appeals to my own sense of order, if no one elses. :-} - I allocate space for the entry structure and the strings in one go, instead of using malloc() and separate strdup() calls. This should be more efficient, and allows for a single call to free() to free the whole thing. These are very minor changes, but they do serve to make me more familiar with the code overall. (This used to be commit 1dafef88871338f06dbcbbb67ce3bbbb460d7bb6)
Diffstat (limited to 'source3/param/params.c')
0 files changed, 0 insertions, 0 deletions