summaryrefslogtreecommitdiff
path: root/libcli/util/wscript_build
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2011-06-17 14:39:37 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-17 17:08:59 +1000
commitb341979adb950ae6abd518df3a170db9e9708797 (patch)
tree9c3123e53c08539677b6fc85d90e86e1db07e365 /libcli/util/wscript_build
parent1233ba7bf3d2dfd9a84eb52d601e589411c55185 (diff)
downloadsamba-b341979adb950ae6abd518df3a170db9e9708797.tar.gz
samba-b341979adb950ae6abd518df3a170db9e9708797.tar.bz2
samba-b341979adb950ae6abd518df3a170db9e9708797.zip
util: moved nt_errstr() into common code
this brings nt_errstr() into common code, using the new talloc_stackframe_exists() to ensure that we only allocate an error string using talloc_tos() if a talloc stackframe does currently exists. This makes it safe to use in external libraries Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'libcli/util/wscript_build')
-rw-r--r--libcli/util/wscript_build2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcli/util/wscript_build b/libcli/util/wscript_build
index 6a078259db..d87f0ba88e 100644
--- a/libcli/util/wscript_build
+++ b/libcli/util/wscript_build
@@ -3,6 +3,6 @@
bld.SAMBA_SUBSYSTEM('LIBCLI_ERRORS',
source='doserr.c errormap.c nterr.c',
- public_deps='talloc'
+ public_deps='talloc samba-util-common'
)