diff options
author | Christopher R. Hertel <crh@samba.org> | 1997-10-16 01:03:18 +0000 |
---|---|---|
committer | Christopher R. Hertel <crh@samba.org> | 1997-10-16 01:03:18 +0000 |
commit | 1dafef88871338f06dbcbbb67ce3bbbb460d7bb6 (patch) | |
tree | b016e04b35f52ca95d2257a9588260d1c9640fa3 /source/ubiqx | |
parent | a88ae60fc33e3598f46dfc38e930e261d5e06888 (diff) | |
download | samba-1dafef88871338f06dbcbbb67ce3bbbb460d7bb6.tar.gz samba-1dafef88871338f06dbcbbb67ce3bbbb460d7bb6.tar.xz samba-1dafef88871338f06dbcbbb67ce3bbbb460d7bb6.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.
Diffstat (limited to 'source/ubiqx')
0 files changed, 0 insertions, 0 deletions