From e803da432b7a16c6387df90cc2670a8a25175a88 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Thu, 16 Oct 1997 13:12:13 +0000 Subject: begin merging Orn's changes --- src/sort.c | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/sort.c') diff --git a/src/sort.c b/src/sort.c index ffdc9c167..982efd352 100644 --- a/src/sort.c +++ b/src/sort.c @@ -1,5 +1,5 @@ /* sort - sort lines of text (with all kinds of options). - Copyright (C) 88, 91, 92, 93, 94, 95, 1996, 1997 Free Software Foundation + Copyright (C) 88, 91, 92, 93, 94, 95, 96, 97 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,16 +39,8 @@ #include "xstrtod.h" #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 - -# if !defined (_NL_ITEM) -# define _NL_ITEM(Category, Index) (Index) -# endif -#endif /* NLS */ - - +#endif #ifdef HAVE_LIMITS_H # include @@ -602,8 +594,7 @@ inittables (void) size_t s_len; int j; - s = nl_langinfo (_NL_ITEM (LC_TIME, - ABMON_1 + us_monthtab[i].val - 1)); + s = nl_langinfo (ABMON_1 + us_monthtab[i].val - 1); s_len = strlen (s); nls_monthtab[i].name = (char *) xmalloc (s_len + 1); nls_monthtab[i].val = us_monthtab[i].val; -- cgit v1.2.3-54-g00ecf