The snprintf module provides only snprintf, not vsnprintf. As we
currently depend on both functions in the library, it is necessary
to use both modules.
This fixes failures in the new cdeclerr test on HP-UX 11, which has
vsnprintf but it is not entirely C99-like (wrong return value).
#!/bin/sh
#
-# Copyright © 2011-2012, 2021-2022 Nick Bowler
+# Copyright © 2011-2012, 2021-2023 Nick Bowler
#
# Simple script to get started from a fresh git checkout.
#
exec 3>lib/symfiles.tmp 4<lib/symfiles.tmp
rm -f lib/symfiles.tmp
- shared_modules='lock tls flexmember snprintf'
+ shared_modules='lock tls snprintf vsnprintf'
set x --extract-recursive-dependencies $shared_modules; shift
(set -x; $GNULIB/gnulib-tool "$@" >&3 ) || die "gnulib-tool failed"
shared_modules=`LC_ALL=C sort -u <&4`
/unistd_h.m4
/vasnprintf.m4
/visibility.m4
+/vsnprintf.m4
/warn-on-use.m4
/wchar_h.m4
/wchar_t.m4
# mbswidth \
# readline \
# snprintf \
-# tls
+# tls \
+# vsnprintf
# Specification in the form of a few gnulib-tool.m4 macro invocations:
gl_LOCAL_DIR([])
readline
snprintf
tls
+ vsnprintf
])
gl_AVOID([gperf std-gnu11])
gl_SOURCE_BASE([lib])