bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

working with "good enough" functions


From: Mike Frysinger
Subject: working with "good enough" functions
Date: Sun, 4 Jan 2009 15:25:40 -0500
User-agent: KMail/1.10.3 (Linux/2.6.28; KDE/4.1.3; x86_64; ; )

the gnulib implementations of POSIX functions are pretty damn complete.  for 
most of my uses though, they're *too* complete :).

for example, current gnulib will often enable printf functions on modern 
systems (such as Linux w/glibc 2.9).  this is because extended floating point 
support breaks from time to time.  in my case, my system C library has broken 
handling of long doubles.  however, i rarely use floating point code in 
projects i work on, so the system C library could have completely hosed 
support and i still wouldnt care.  thus using the replacement versions really 
only results in bloat.

is there a standard way for addressing this ?  or should i cheat and set the 
vars to yes before calling gl_{EARLY,INIT} ?  if i add a line like this:
gl_cv_func_printf_infinite_long_double=yes
then the tests complete as i'd like ... the printf() implementation comes from 
the system C library rather than gnulib.
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]