On 09/29/2010 10:46 AM, Sam Steingold wrote:
     Does glibc have a getdate.h include file?

posix does not require "getdate.h".
gnulib shouldn't either.

If you want getdate(), then you are correct that you want <time.h>.

But gnulib's getdate module provides get_date(), which is NOT the same beast as getdate().

It may make sense to rename the current getdate module to get_date to reflect the fact that it is providing a completely different interface.

     which means that getdate.y is compiled unconditionally.
     Whereas platform-dependent compilations are usually triggered
     through AC_LIBOBJ.

this is a bug in gnulib.

No, it is not - if you are using the gnulib module getdate, it is assumed that you want get_date(), which glibc does NOT provide.


this is another gnulib bug: it should have detected bad YACC at
configure time and failed then.

Patches welcome.

the bottom line is:
gnulib has no business requiring YACC on linux

Unless of course you are compiling the gnulib get_date() function, in which case YACC is a necessity.

gnulib has no business replacing glibc functions on linux

It is NOT replacing the glibc getdate(), it is providing get_date().

--
Eric Blake   [email protected]    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

Reply via email to