• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

gl_cv_cc_double_expbit0/H11-Feb-2022-10298

gl_cv_func_frexp_works/H11-Feb-2022-111108

gl_cv_func_frexpl_works/H11-Feb-2022-142135

gl_cv_func_ldexpl_works/H11-Feb-2022-5851

gl_cv_func_printf_directive_a/H11-Feb-2022-9590

gl_cv_func_printf_directive_f/H11-Feb-2022-8278

gl_cv_func_printf_directive_ls/H11-Feb-2022-8379

gl_cv_func_printf_enomem/H11-Feb-2022-7470

gl_cv_func_printf_flag_grouping/H11-Feb-2022-3834

gl_cv_func_printf_flag_leftadjust/H11-Feb-2022-4036

gl_cv_func_printf_flag_zero/H11-Feb-2022-4137

gl_cv_func_printf_infinite/H11-Feb-2022-136132

gl_cv_func_printf_infinite_long_double/H11-Feb-2022-209204

gl_cv_func_printf_long_double/H11-Feb-2022-5147

gl_cv_func_printf_precision/H11-Feb-2022-5551

gl_cv_long_double_equals_double/H11-Feb-2022-2521

gl_extern_inline/H11-Feb-2022-10493

READMEH A D11-Feb-20222.1 KiB8873

arg-nonnull.hH A D11-Feb-20221.2 KiB277

asnprintf.cH A D11-Feb-20221.1 KiB3714

c++defs.hH A D11-Feb-202214.1 KiB317161

float+.hH A D11-Feb-20225.5 KiB148108

fpucw.hH A D11-Feb-20224.6 KiB10935

frexp.cH A D11-Feb-2022342 2318

frexpl.cH A D11-Feb-2022349 2220

g-gnulib.hH A D11-Feb-20221.4 KiB4721

glib-gnulib.patchH A D11-Feb-202215.9 KiB461422

gnulib_math.h.inH A D11-Feb-202268.8 KiB2,4522,286

isinf.cH A D11-Feb-2022449 3126

isnan.cH A D11-Feb-20226.9 KiB190123

isnand-nolibm.hH A D11-Feb-20221.2 KiB3414

isnand.cH A D11-Feb-2022919 234

isnanf-nolibm.hH A D11-Feb-20221.5 KiB4118

isnanf.cH A D11-Feb-2022868 212

isnanl-nolibm.hH A D11-Feb-20221.2 KiB3414

isnanl.cH A D11-Feb-2022949 245

meson.buildH A D11-Feb-20229 KiB372329

printf-args.cH A D11-Feb-20226.4 KiB190142

printf-args.hH A D11-Feb-20223.8 KiB159112

printf-frexp.cH A D11-Feb-20225.2 KiB191129

printf-frexp.hH A D11-Feb-20221.1 KiB241

printf-frexpl.cH A D11-Feb-20221.1 KiB3813

printf-frexpl.hH A D11-Feb-20221.1 KiB241

printf-parse.cH A D11-Feb-202221.6 KiB641509

printf-parse.hH A D11-Feb-20225.1 KiB194135

printf.cH A D11-Feb-20223.2 KiB14692

printf.hH A D11-Feb-20221.6 KiB5332

signbitd.cH A D11-Feb-20222.1 KiB6534

signbitf.cH A D11-Feb-20222.1 KiB6534

signbitl.cH A D11-Feb-20222.1 KiB6534

vasnprintf.cH A D11-Feb-2022220 KiB5,6334,540

vasnprintf.hH A D11-Feb-20222.9 KiB8024

verify.hH A D11-Feb-202210.9 KiB28483

xsize.cH A D11-Feb-202278 43

xsize.hH A D11-Feb-20223.6 KiB12058

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