util: moved nt_errstr() into common code
authorAndrew Tridgell <tridge@samba.org>
Fri, 17 Jun 2011 04:39:37 +0000 (14:39 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 17 Jun 2011 07:08:59 +0000 (17:08 +1000)
commitb341979adb950ae6abd518df3a170db9e9708797
tree9c3123e53c08539677b6fc85d90e86e1db07e365
parent1233ba7bf3d2dfd9a84eb52d601e589411c55185
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>
libcli/util/nterr.c
libcli/util/wscript_build