bug-sh-utils
[Top][All Lists]
Advanced

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

Re: src/date.c nl_langinfo bug


From: Jim Meyering
Subject: Re: src/date.c nl_langinfo bug
Date: Thu, 08 Aug 2002 18:39:41 +0200
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

Thank you!
That fix will appear in the first test release of
the GNU coreutils package (that package is the union
of the fileutils, sh-utils, and textutils packages).

GOTO Masanori <address@hidden> wrote:
> Hi,
>
> Recent sh-utils' date does not print _DATE_FMT because langinfo.h is
> never included, because HAVE_LANGINFO_H is not defined anywhere.
> Please apply below patch.
>
>
> 2002-08-06  GOTO Masanori  <address@hidden>
>
>       * src/date.c: Include langinfo.h correctly
>
>
> --- sh-utils-2.0.14/src/date.c        2002-07-02 14:21:02.000000000 +0900
> +++ sh-utils-2.0.14.new/src/date.c    2002-08-06 17:20:52.000000000 +0900
> @@ -21,7 +21,7 @@
>  #include <stdio.h>
>  #include <getopt.h>
>  #include <sys/types.h>
> -#if HAVE_LANGINFO_H
> +#if HAVE_LANGINFO_CODESET
>  # include <langinfo.h>
>  #endif



reply via email to

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