mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
build: replace printf, snprintf, and sprintf when needed
This avoids the "%.5119Lf" issue on Solaris 11 where an extraneous e+00 is output. seq uses printf, while numfmt uses snprintf. I.e. this fixes: $ numfmt --to=si --format='%.5119f' 1 | tail -c5 $ seq -f %.5119f 1 | tail -c5 Note gnulib printf module dependencies were previously discussed at: https://lists.gnu.org/r/coreutils/2014-11/msg00046.html https://github.com/coreutils/coreutils/commit/b817f6276 * bootstrap.conf: Depend on {printf,snprintf,sprintf}-posix modules.
This commit is contained in:
1 parent
34bf6eb5af
commit
fa00eb9979
1 file changed
+3
@@ -232,6 +232,7 @@ gnulib_modules="
|
||||
posix_spawnp
|
||||
posixtm
|
||||
posixver
|
||||
printf-posix
|
||||
priv-set
|
||||
progname
|
||||
propername-lite
|
||||
@@ -267,6 +268,8 @@ gnulib_modules="
|
||||
sigaction
|
||||
skipchars
|
||||
smack
|
||||
snprintf-posix
|
||||
sprintf-posix
|
||||
ssize_t
|
||||
stat-macros
|
||||
stat-size
|
||||
|
||||
Reference in new issue
Block a user