[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
src/date.c nl_langinfo bug
From: |
GOTO Masanori |
Subject: |
src/date.c nl_langinfo bug |
Date: |
Tue, 06 Aug 2002 17:32:58 +0900 |
User-agent: |
Wanderlust/2.9.14 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (UnebigoryĆmae) APEL/10.3 Emacs/20.7 (i386-debian-linux-gnu) MULE/4.1 (AOI) |
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
-- gotom
- src/date.c nl_langinfo bug,
GOTO Masanori <=