git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1746ffe
)
lib/replace: add more condition to add snprintf.c
author
Stefan Metzmacher
<metze@samba.org>
Mon, 11 Jun 2012 07:07:06 +0000
(09:07 +0200)
committer
Stefan Metzmacher
<metze@samba.org>
Thu, 14 Jun 2012 07:34:13 +0000
(09:34 +0200)
metze
lib/replace/wscript
patch
|
blob
|
history
diff --git
a/lib/replace/wscript
b/lib/replace/wscript
index 7a44329fec826cb978e5600374a82e7cece77a7d..215fc32383e5ff23979940acd5b0e27e0f440c41 100644
(file)
--- a/
lib/replace/wscript
+++ b/
lib/replace/wscript
@@
-475,7
+475,9
@@
REPLACEMENT_FUNCTIONS = {
'dprintf', 'get_current_dir_name',
'strerror_r', 'clock_gettime'],
'timegm.c': ['timegm'],
- 'snprintf.c': ['snprintf'],
+ # Note: C99_VSNPRINTF is not a function, but a special condition
+ # for replacement
+ 'snprintf.c': ['C99_VSNPRINTF', 'snprintf', 'vsnprintf', 'asprintf', 'vasprintf'],
}