Age | Commit message (Collapse) | Author | Files | Lines |
|
This allows us to reuse a ldb context if it is open twice, instead
of going through the expensive process of a full ldb open. We can
reuse it if all of the parameters are the same.
The change relies on callers using talloc_unlink() or free of a parent
to close a ldb context.
|
|
|
|
|
|
list=""
list="$list event_context:tevent_context"
list="$list fd_event:tevent_fd"
list="$list timed_event:tevent_timer"
for s in $list; do
o=`echo $s | cut -d ':' -f1`
n=`echo $s | cut -d ':' -f2`
r=`git grep "struct $o" |cut -d ':' -f1 |sort -u`
files=`echo "$r" | grep -v source3 | grep -v nsswitch | grep -v packaging4`
for f in $files; do
cat $f | sed -e "s/struct $o/struct $n/g" > $f.tmp
mv $f.tmp $f
done
done
metze
|
|
The previous ldb_search() interface made it way too easy to leak results,
and being able to use a printf-like expression turns to be really useful.
|
|
(This used to be commit b4e1ae07a284c044704322446c94351c2decff91)
|
|
(This used to be commit 8a222419528153b889cb1a7eae09a155f196b9b5)
|
|
(This used to be commit 018eb64f038210279b90925e6a981c067aef4be9)
|
|
(This used to be commit 73ac7c4a1ce937bddd3c52d048665cd0078c6aaa)
|
|
(This used to be commit 78d22a28eca4dd89f629dbe75287e9ac3940606b)
|
|
(This used to be commit 4037ca6b9cf14219b4a4475399a51db01c655da6)
|
|
(This used to be commit 6f2d95030cd7b4b22d1b75d15b76881449eda697)
|
|
(This used to be commit 6ac6de8476ba036eb041e054bc37e4503dc2fde8)
|