New commits:
commit 72afeab44f120ca41c5e013d38ce3752e48194c5
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
libstate: converted two inline esc_str calls to the forkless version
with this + the previous commit to libstate there is a noticeable speedup
in
dependency resolution :)
time cast atk curl libao lyx xine-lib sip # which pulled in other spells
average of 3 isolated hot runs:
before: 95,51
after: 74,47
~20% gain :D
commit d5a2e5a097997a1da1acae2ce008f643710ee0d2
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
liblock: save the escaped string in lock_kill_transaction
commit bfbe4aecf8442e497d3c1ae79099025ef88f1926
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
lib*: use esc_str by reference
commit 6022a66eee03202c8eedc4f9a3ed269c047eb0ab
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
libmisc: made esc_str forkless and optionally return by reference
diff --git a/ChangeLog b/ChangeLog
index 8a91d88..8ecfcee 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,10 @@
* gaze, gaze.1: added size -all, initial patch from Danilo Vidovic
#13556
* url_git_local: added an url handler for local git urls, patch by
Andraž
Levstik #14397; fixed the comments and removed the netselect
function
+ * libmisc: made esc_str forkless and optionally return by reference
+ * libstate, libtriggers, libsorcery: use esc_str by reference
+ * liblock: save the escaped string in lock_kill_transaction
+ * libstate: converted two inline esc_str calls to the forkless version
2008-03-27 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* changed uses of plain sort|uniq to the featurewise equivalent sort
-u
diff --git a/var/lib/sorcery/modules/liblock b/var/lib/sorcery/modules/liblock
index c012281..8dc6676 100755
--- a/var/lib/sorcery/modules/liblock
+++ b/var/lib/sorcery/modules/liblock
@@ -341,14 +341,15 @@ function lock_commit_transaction()
function lock_kill_transaction()
{
debug "liblock" "$FUNCNAME - $*"
- local TMP_FILE
+ local TMP_FILE string