diff options
author | Jim Meyering <jim@meyering.net> | 1997-10-15 05:00:33 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1997-10-15 05:00:33 +0000 |
commit | 1ab25ef4a1a78a2e6b43ae7e539d96cde925ea72 (patch) | |
tree | 1ba307ca63b05fd713b8e49dd3c64ebe4a84ea33 | |
parent | 0fab8dca594fd2728ab255038b6ca959c1ea0644 (diff) | |
download | coreutils-1ab25ef4a1a78a2e6b43ae7e539d96cde925ea72.tar.xz |
(_NL_ITEM) [!defined]: Define.
From from Ørn E. Hansen.
-rw-r--r-- | src/sort.c | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/sort.c b/src/sort.c index 8837a7ce9..ffdc9c167 100644 --- a/src/sort.c +++ b/src/sort.c @@ -38,13 +38,18 @@ #include "error.h" #include "xstrtod.h" -#undef ENABLE_NLS #ifdef ENABLE_NLS /* FIXME: this may need some heading.... applies to Debian linux for reading the structure of _NL_ITEM... to get abbreviated month names */ # include <langinfo.h> + +# if !defined (_NL_ITEM) +# define _NL_ITEM(Category, Index) (Index) +# endif #endif /* NLS */ + + #ifdef HAVE_LIMITS_H # include <limits.h> #else @@ -328,7 +333,7 @@ for that key. If no key given, use the entire line as key. With no\n\ FILE, or when FILE is -, read standard input.\n\ ") , DEFAULT_TMPDIR); - puts (_("\nReport bugs to textutils-bugs@gnu.ai.mit.edu")); + puts (_("\nReport bugs to textutils-bugs@gnu.org")); } /* Don't use EXIT_FAILURE here in case it is defined to be 1. POSIX requires that sort return 1 IFF invoked with -c and |