summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-06-11 08:56:09 +0200
committerStefan Metzmacher <metze@samba.org>2012-06-14 09:34:13 +0200
commit1746ffe090dbb254b943c9db09a42f528ab2dac7 (patch)
tree2f921d9e568f55c641f79227aebb2d11ba2eab5a
parent4e1ebdc0c4166beb5006aae2637b4628fe97d7a0 (diff)
downloadsamba-1746ffe090dbb254b943c9db09a42f528ab2dac7.tar.gz
samba-1746ffe090dbb254b943c9db09a42f528ab2dac7.tar.bz2
samba-1746ffe090dbb254b943c9db09a42f528ab2dac7.zip
Revert "lib/replace: Fix snprintf() override for systems with a broken snprintf()"
This reverts commit bbc1b0c9853322da10483f72c020fe0dd83b28fa. A more generic fix will follow. metze
-rw-r--r--lib/replace/wscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript
index 549e14b4dc..7a44329fec 100644
--- a/lib/replace/wscript
+++ b/lib/replace/wscript
@@ -475,6 +475,7 @@ REPLACEMENT_FUNCTIONS = {
'dprintf', 'get_current_dir_name',
'strerror_r', 'clock_gettime'],
'timegm.c': ['timegm'],
+ 'snprintf.c': ['snprintf'],
}
@@ -483,7 +484,6 @@ def build(bld):
REPLACE_HOSTCC_SOURCE = ''
- if not bld.CONFIG_SET('HAVE_C99_VSNPRINTF'): REPLACE_HOSTCC_SOURCE += ' snprintf.c'
if bld.CONFIG_SET('REPLACE_STRPTIME'): REPLACE_HOSTCC_SOURCE += ' strptime.c'
for filename, functions in REPLACEMENT_FUNCTIONS.iteritems():
for function in functions: