Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 03-May-2022 | - | ||||
gl_cv_cc_double_expbit0/ | H | 11-Feb-2022 | - | 102 | 98 | |
gl_cv_func_frexp_works/ | H | 11-Feb-2022 | - | 111 | 108 | |
gl_cv_func_frexpl_works/ | H | 11-Feb-2022 | - | 142 | 135 | |
gl_cv_func_ldexpl_works/ | H | 11-Feb-2022 | - | 58 | 51 | |
gl_cv_func_printf_directive_a/ | H | 11-Feb-2022 | - | 95 | 90 | |
gl_cv_func_printf_directive_f/ | H | 11-Feb-2022 | - | 82 | 78 | |
gl_cv_func_printf_directive_ls/ | H | 11-Feb-2022 | - | 83 | 79 | |
gl_cv_func_printf_enomem/ | H | 11-Feb-2022 | - | 74 | 70 | |
gl_cv_func_printf_flag_grouping/ | H | 11-Feb-2022 | - | 38 | 34 | |
gl_cv_func_printf_flag_leftadjust/ | H | 11-Feb-2022 | - | 40 | 36 | |
gl_cv_func_printf_flag_zero/ | H | 11-Feb-2022 | - | 41 | 37 | |
gl_cv_func_printf_infinite/ | H | 11-Feb-2022 | - | 136 | 132 | |
gl_cv_func_printf_infinite_long_double/ | H | 11-Feb-2022 | - | 209 | 204 | |
gl_cv_func_printf_long_double/ | H | 11-Feb-2022 | - | 51 | 47 | |
gl_cv_func_printf_precision/ | H | 11-Feb-2022 | - | 55 | 51 | |
gl_cv_long_double_equals_double/ | H | 11-Feb-2022 | - | 25 | 21 | |
gl_extern_inline/ | H | 11-Feb-2022 | - | 104 | 93 | |
README | H A D | 11-Feb-2022 | 2.1 KiB | 88 | 73 | |
arg-nonnull.h | H A D | 11-Feb-2022 | 1.2 KiB | 27 | 7 | |
asnprintf.c | H A D | 11-Feb-2022 | 1.1 KiB | 37 | 14 | |
c++defs.h | H A D | 11-Feb-2022 | 14.1 KiB | 317 | 161 | |
float+.h | H A D | 11-Feb-2022 | 5.5 KiB | 148 | 108 | |
fpucw.h | H A D | 11-Feb-2022 | 4.6 KiB | 109 | 35 | |
frexp.c | H A D | 11-Feb-2022 | 342 | 23 | 18 | |
frexpl.c | H A D | 11-Feb-2022 | 349 | 22 | 20 | |
g-gnulib.h | H A D | 11-Feb-2022 | 1.4 KiB | 47 | 21 | |
glib-gnulib.patch | H A D | 11-Feb-2022 | 15.9 KiB | 461 | 422 | |
gnulib_math.h.in | H A D | 11-Feb-2022 | 68.8 KiB | 2,452 | 2,286 | |
isinf.c | H A D | 11-Feb-2022 | 449 | 31 | 26 | |
isnan.c | H A D | 11-Feb-2022 | 6.9 KiB | 190 | 123 | |
isnand-nolibm.h | H A D | 11-Feb-2022 | 1.2 KiB | 34 | 14 | |
isnand.c | H A D | 11-Feb-2022 | 919 | 23 | 4 | |
isnanf-nolibm.h | H A D | 11-Feb-2022 | 1.5 KiB | 41 | 18 | |
isnanf.c | H A D | 11-Feb-2022 | 868 | 21 | 2 | |
isnanl-nolibm.h | H A D | 11-Feb-2022 | 1.2 KiB | 34 | 14 | |
isnanl.c | H A D | 11-Feb-2022 | 949 | 24 | 5 | |
meson.build | H A D | 11-Feb-2022 | 9 KiB | 372 | 329 | |
printf-args.c | H A D | 11-Feb-2022 | 6.4 KiB | 190 | 142 | |
printf-args.h | H A D | 11-Feb-2022 | 3.8 KiB | 159 | 112 | |
printf-frexp.c | H A D | 11-Feb-2022 | 5.2 KiB | 191 | 129 | |
printf-frexp.h | H A D | 11-Feb-2022 | 1.1 KiB | 24 | 1 | |
printf-frexpl.c | H A D | 11-Feb-2022 | 1.1 KiB | 38 | 13 | |
printf-frexpl.h | H A D | 11-Feb-2022 | 1.1 KiB | 24 | 1 | |
printf-parse.c | H A D | 11-Feb-2022 | 21.6 KiB | 641 | 509 | |
printf-parse.h | H A D | 11-Feb-2022 | 5.1 KiB | 194 | 135 | |
printf.c | H A D | 11-Feb-2022 | 3.2 KiB | 146 | 92 | |
printf.h | H A D | 11-Feb-2022 | 1.6 KiB | 53 | 32 | |
signbitd.c | H A D | 11-Feb-2022 | 2.1 KiB | 65 | 34 | |
signbitf.c | H A D | 11-Feb-2022 | 2.1 KiB | 65 | 34 | |
signbitl.c | H A D | 11-Feb-2022 | 2.1 KiB | 65 | 34 | |
vasnprintf.c | H A D | 11-Feb-2022 | 220 KiB | 5,633 | 4,540 | |
vasnprintf.h | H A D | 11-Feb-2022 | 2.9 KiB | 80 | 24 | |
verify.h | H A D | 11-Feb-2022 | 10.9 KiB | 284 | 83 | |
xsize.c | H A D | 11-Feb-2022 | 78 | 4 | 3 | |
xsize.h | H A D | 11-Feb-2022 | 3.6 KiB | 120 | 58 |
README
1The files 2 3 asnprintf.c 4 printf-args.c 5 printf-args.h 6 printf-parse.c 7 printf-parse.h 8 vasnprintf.c 9 vasnprintf.h 10 11are taken from the vasnprintf module of the GNUlib package, which can 12be found at: 13 14 http://www.gnu.org/software/gnulib/ 15 16All files have been modified to include g-gnulib.h. 17 18vasnprintf.c has also been modified to include support for long long 19printing if the system printf doesn't. This code is protected by 20#ifndef HAVE_LONG_LONG_FORMAT. 21 22Code has been added to printf-args.[ch], printf-parse.c and vasnprintf.c 23to support printing of __int64 values with the I64 format modifier. This 24is protected by #ifdef HAVE_INT64_AND_I64. 25 26The files 27 28 printf.h 29 printf.c 30 g-gnulib.h 31 32have been written by me. printf.[hc] contain implementations of the 33remaining functions in the printf family based on vasnprintf. 34g-gnulib.h is included by all source files in order to move all 35exported functions to the _g_gnulib namespace, replace malloc by 36g_malloc and make sure that snprintf is only used if it implements 37C99 return value semantics. 38 39Matthias Clasen 40November 1, 2003 41 42To update: 43* Create an empty directory, put a configure.ac file into it. 44* Run gnulib-tool --lgpl=2 --import --lib=libgnu --source-base=lib \ 45 --m4-base=m4 --doc-base=doc --tests-base=tests --aux-dir=. \ 46 --no-conditional-dependencies --no-libtool --macro-prefix=gl \ 47 isnand-nolibm isnanf-nolibm isnanl-nolibm printf-frexpl \ 48 signbit vasnprintf 49* Then pick out the files that are already in glib/gnulib subdirectory 50 (the rest of the files are not needed): 51 52asnprintf.c 53c++defs.h 54float+.h 55fpucw.h 56gnulib_math.h.in (rename from math.in.h) 57isnan.c 58isnand.c 59isnand-nolibm.h 60isnanf.c 61isnanf-nolibm.h 62isnanl.c 63isnanl-nolibm.h 64printf-args.c 65printf-args.h 66printf-frexp.c 67printf-frexp.h 68printf-frexpl.c 69printf-frexpl.h 70printf-parse.c 71printf-parse.h 72signbitd.c 73signbitf.c 74signbitl.c 75vasnprintf.c 76vasnprintf.h 77verify.h 78xsize.h 79 80* Then look at the glib-gnulib.patch and re-introduce custom glib changes 81 contained in that patch. 82* If gnulib_math.h.in got some new @variables@, these will have to be 83 somehow set in meson.build, otherwise meson would warn about them 84 at configure stage 85 86LRN 87June 06, 2018 88