Commit ef8f98d0 authored by Chris Allegretta's avatar Chris Allegretta
Browse files

Reverted to gettext 0.10.35 in intl/ added m4/ directory to allow system...

Reverted to gettext 0.10.35 in intl/ added m4/ directory to allow system independent rebuild of configure stuff


git-svn-id: svn://svn.savannah.gnu.org/nano/trunk/nano@736 35c25a1d-7b9e-4130-9fde-d3aeb78583b8
parent e642197f
Showing with 3327 additions and 1682 deletions
+3327 -1682
CVS code - CVS code -
- General
- Reverted included gettext from 0.10.38 to 0.10.35 in intl/ dir.
- Added m4/ directory to allow rebuilding using only the internal
version of gettext.m4 (Albert Chin).
- nano.c: - nano.c:
main() main()
- Change the getop option to 'F' (David Lawrence Ramsey) - Change the getop option to 'F' (David Lawrence Ramsey)
......
## $Id$ ## $Id$
AUTOMAKE_OPTIONS = gnu no-dependencies
M4DIR = $(srcdir)/m4
ACLOCAL_AMFLAGS = -I $(M4DIR)
ACINCLUDE_INPUTS = $(M4DIR)/gettext.m4 $(M4DIR)/largefile.m4 \
$(M4DIR)/lcmessage.m4 $(M4DIR)/progtest.m4
bin_PROGRAMS = nano bin_PROGRAMS = nano
nano_SOURCES = color.c \ nano_SOURCES = color.c \
cut.c \ cut.c \
...@@ -14,16 +20,19 @@ nano_SOURCES = color.c \ ...@@ -14,16 +20,19 @@ nano_SOURCES = color.c \
winio.c winio.c
man_MANS = nano.1 man_MANS = nano.1
nano_LDADD = @INTLLIBS@ nano_LDADD = @GLIB_LIBS@ @INTLLIBS@
info_TEXINFOS = nano.texi info_TEXINFOS = nano.texi
MAKEINFO = makeinfo --no-split MAKEINFO = makeinfo --no-split
EXTRA_DIST = ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \ EXTRA_DIST = ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS \
README THANKS TODO install-sh missing mkinstalldirs \ README THANKS TODO install-sh missing mkinstalldirs \
nano.1 nano.1.html faq.html nanorc.sample nano.1 nano.1.html faq.html nanorc.sample $(ACINCLUDE_INPUTS)
SUBDIRS = po intl SUBDIRS = po intl
localedir = $(datadir)/locale localedir = @LOCALE_DIR@
INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@ INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
$(srcdir)/acinclude.m4: $(ACINCLUDE_INPUTS)
cat $(ACINCLUDE_INPUTS) > $@
# Makefile.in generated automatically by automake 1.4 from Makefile.am # Makefile.in generated automatically by automake 1.4-p4 from Makefile.am
# Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc. # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
# This Makefile.in is free software; the Free Software Foundation # This Makefile.in is free software; the Free Software Foundation
...@@ -57,27 +57,26 @@ POST_INSTALL = : ...@@ -57,27 +57,26 @@ POST_INSTALL = :
NORMAL_UNINSTALL = : NORMAL_UNINSTALL = :
PRE_UNINSTALL = : PRE_UNINSTALL = :
POST_UNINSTALL = : POST_UNINSTALL = :
host_alias = @host_alias@
host_triplet = @host@
BUILD_INCLUDED_LIBINTL = @BUILD_INCLUDED_LIBINTL@
CATALOGS = @CATALOGS@ CATALOGS = @CATALOGS@
CATOBJEXT = @CATOBJEXT@ CATOBJEXT = @CATOBJEXT@
CC = @CC@ CC = @CC@
CURSES_LIB = @CURSES_LIB@ CURSES_LIB = @CURSES_LIB@
DATADIRNAME = @DATADIRNAME@ DATADIRNAME = @DATADIRNAME@
GENCAT = @GENCAT@ GENCAT = @GENCAT@
GLIBC21 = @GLIBC21@
GLIB_CFLAGS = @GLIB_CFLAGS@ GLIB_CFLAGS = @GLIB_CFLAGS@
GLIB_CONFIG = @GLIB_CONFIG@ GLIB_CONFIG = @GLIB_CONFIG@
GLIB_LIBS = @GLIB_LIBS@ GLIB_LIBS = @GLIB_LIBS@
GMOFILES = @GMOFILES@ GMOFILES = @GMOFILES@
GMSGFMT = @GMSGFMT@ GMSGFMT = @GMSGFMT@
GNU_LOCALE_DIR = @GNU_LOCALE_DIR@
GT_NO = @GT_NO@
GT_YES = @GT_YES@
INCLUDE_LOCALE_H = @INCLUDE_LOCALE_H@
INSTOBJEXT = @INSTOBJEXT@ INSTOBJEXT = @INSTOBJEXT@
INTLBISON = @INTLBISON@ INTLDEPS = @INTLDEPS@
INTLLIBS = @INTLLIBS@ INTLLIBS = @INTLLIBS@
INTLOBJS = @INTLOBJS@ INTLOBJS = @INTLOBJS@
INTL_LIBTOOL_SUFFIX_PREFIX = @INTL_LIBTOOL_SUFFIX_PREFIX@ LOCALE_DIR = @LOCALE_DIR@
LIBICONV = @LIBICONV@
MKINSTALLDIRS = @MKINSTALLDIRS@ MKINSTALLDIRS = @MKINSTALLDIRS@
MSGFMT = @MSGFMT@ MSGFMT = @MSGFMT@
PACKAGE = @PACKAGE@ PACKAGE = @PACKAGE@
...@@ -87,23 +86,30 @@ RANLIB = @RANLIB@ ...@@ -87,23 +86,30 @@ RANLIB = @RANLIB@
USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@ USE_INCLUDED_LIBINTL = @USE_INCLUDED_LIBINTL@
USE_NLS = @USE_NLS@ USE_NLS = @USE_NLS@
VERSION = @VERSION@ VERSION = @VERSION@
l = @l@
AUTOMAKE_OPTIONS = gnu no-dependencies
M4DIR = $(srcdir)/m4
ACLOCAL_AMFLAGS = -I $(M4DIR)
ACINCLUDE_INPUTS = $(M4DIR)/gettext.m4 $(M4DIR)/largefile.m4 $(M4DIR)/lcmessage.m4 $(M4DIR)/progtest.m4
bin_PROGRAMS = nano bin_PROGRAMS = nano
nano_SOURCES = color.c cut.c files.c global.c move.c nano.c nano.h proto.h rcfile.c search.c utils.c winio.c nano_SOURCES = color.c cut.c files.c global.c move.c nano.c nano.h proto.h rcfile.c search.c utils.c winio.c
man_MANS = nano.1 man_MANS = nano.1
nano_LDADD = @INTLLIBS@ nano_LDADD = @GLIB_LIBS@ @INTLLIBS@
info_TEXINFOS = nano.texi info_TEXINFOS = nano.texi
MAKEINFO = makeinfo --no-split MAKEINFO = makeinfo --no-split
EXTRA_DIST = ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO install-sh missing mkinstalldirs nano.1 nano.1.html faq.html nanorc.sample EXTRA_DIST = ABOUT-NLS AUTHORS BUGS COPYING ChangeLog INSTALL NEWS README THANKS TODO install-sh missing mkinstalldirs nano.1 nano.1.html faq.html nanorc.sample $(ACINCLUDE_INPUTS)
SUBDIRS = po intl SUBDIRS = po intl
localedir = $(datadir)/locale localedir = @LOCALE_DIR@
INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@ INCLUDES = -Iintl -DLOCALEDIR=\"$(localedir)\" -I@includedir@
ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
...@@ -156,9 +162,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status ...@@ -156,9 +162,9 @@ Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
&& CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
$(ACLOCAL_M4): configure.in $(ACLOCAL_M4): configure.in
cd $(srcdir) && $(ACLOCAL) cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
config.status: $(srcdir)/configure $(CONFIG_STATUS_DEPENDENCIES) config.status: $(srcdir)/configure.in $(CONFIG_STATUS_DEPENDENCIES)
$(SHELL) ./config.status --recheck $(SHELL) ./config.status --recheck
$(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES) $(srcdir)/configure: $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
cd $(srcdir) && $(AUTOCONF) cd $(srcdir) && $(AUTOCONF)
...@@ -318,7 +324,7 @@ uninstall-info: ...@@ -318,7 +324,7 @@ uninstall-info:
else ii=; fi; \ else ii=; fi; \
list='$(INFO_DEPS)'; \ list='$(INFO_DEPS)'; \
for file in $$list; do \ for file in $$list; do \
test -z "$ii" \ test -z "$$ii" \
|| install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \ || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
done done
@$(NORMAL_UNINSTALL) @$(NORMAL_UNINSTALL)
...@@ -521,10 +527,11 @@ distdir: $(DISTFILES) ...@@ -521,10 +527,11 @@ distdir: $(DISTFILES)
-rm -rf $(distdir) -rm -rf $(distdir)
mkdir $(distdir) mkdir $(distdir)
-chmod 777 $(distdir) -chmod 777 $(distdir)
$(mkinstalldirs) $(distdir)/$(M4DIR)
@for file in $(DISTFILES); do \ @for file in $(DISTFILES); do \
d=$(srcdir); \ d=$(srcdir); \
if test -d $$d/$$file; then \ if test -d $$d/$$file; then \
cp -pr $$/$$file $(distdir)/$$file; \ cp -pr $$d/$$file $(distdir)/$$file; \
else \ else \
test -f $(distdir)/$$file \ test -f $(distdir)/$$file \
|| ln $$d/$$file $(distdir)/$$file 2> /dev/null \ || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
...@@ -632,6 +639,9 @@ installdirs mostlyclean-generic distclean-generic clean-generic \ ...@@ -632,6 +639,9 @@ installdirs mostlyclean-generic distclean-generic clean-generic \
maintainer-clean-generic clean mostlyclean distclean maintainer-clean maintainer-clean-generic clean mostlyclean distclean maintainer-clean
$(srcdir)/acinclude.m4: $(ACINCLUDE_INPUTS)
cat $(ACINCLUDE_INPUTS) > $@
# Tell versions [3.59,3.63) of GNU make to not export all variables. # Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded. # Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: .NOEXPORT:
This diff is collapsed.
...@@ -112,36 +112,15 @@ ...@@ -112,36 +112,15 @@
/* Define if you have the dcgettext function. */ /* Define if you have the dcgettext function. */
#undef HAVE_DCGETTEXT #undef HAVE_DCGETTEXT
/* Define if you have the feof_unlocked function. */
#undef HAVE_FEOF_UNLOCKED
/* Define if you have the fgets_unlocked function. */
#undef HAVE_FGETS_UNLOCKED
/* Define if you have the getcwd function. */ /* Define if you have the getcwd function. */
#undef HAVE_GETCWD #undef HAVE_GETCWD
/* Define if you have the getegid function. */
#undef HAVE_GETEGID
/* Define if you have the geteuid function. */
#undef HAVE_GETEUID
/* Define if you have the getgid function. */
#undef HAVE_GETGID
/* Define if you have the getopt_long function. */ /* Define if you have the getopt_long function. */
#undef HAVE_GETOPT_LONG #undef HAVE_GETOPT_LONG
/* Define if you have the getpagesize function. */ /* Define if you have the getpagesize function. */
#undef HAVE_GETPAGESIZE #undef HAVE_GETPAGESIZE
/* Define if you have the getuid function. */
#undef HAVE_GETUID
/* Define if you have the mempcpy function. */
#undef HAVE_MEMPCPY
/* Define if you have the munmap function. */ /* Define if you have the munmap function. */
#undef HAVE_MUNMAP #undef HAVE_MUNMAP
...@@ -169,12 +148,6 @@ ...@@ -169,12 +148,6 @@
/* Define if you have the strdup function. */ /* Define if you have the strdup function. */
#undef HAVE_STRDUP #undef HAVE_STRDUP
/* Define if you have the strtoul function. */
#undef HAVE_STRTOUL
/* Define if you have the tsearch function. */
#undef HAVE_TSEARCH
/* Define if you have the vsnprintf function. */ /* Define if you have the vsnprintf function. */
#undef HAVE_VSNPRINTF #undef HAVE_VSNPRINTF
...@@ -208,12 +181,6 @@ ...@@ -208,12 +181,6 @@
/* Define if you have the <regex.h> header file. */ /* Define if you have the <regex.h> header file. */
#undef HAVE_REGEX_H #undef HAVE_REGEX_H
/* Define if you have the <stddef.h> header file. */
#undef HAVE_STDDEF_H
/* Define if you have the <stdlib.h> header file. */
#undef HAVE_STDLIB_H
/* Define if you have the <string.h> header file. */ /* Define if you have the <string.h> header file. */
#undef HAVE_STRING_H #undef HAVE_STRING_H
...@@ -229,28 +196,36 @@ ...@@ -229,28 +196,36 @@
/* Define if you have the <unistd.h> header file. */ /* Define if you have the <unistd.h> header file. */
#undef HAVE_UNISTD_H #undef HAVE_UNISTD_H
/* Define if you have the i library (-li). */
#undef HAVE_LIBI
/* Define if you have the intl library (-lintl). */
#undef HAVE_LIBINTL
/* Name of package */ /* Name of package */
#undef PACKAGE #undef PACKAGE
/* Version number of package */ /* Version number of package */
#undef VERSION #undef VERSION
/* Define if you have the iconv() function. */ /* Number of bits in a file offset, on hosts where this is settable. */
#undef HAVE_ICONV #undef _FILE_OFFSET_BITS
/* Define as const if the declaration of iconv() needs const. */ /* Define for large files, on AIX-style hosts. */
#undef ICONV_CONST #undef _LARGE_FILES
/* Define if you have <langinfo.h> and nl_langinfo(CODESET). */ /* Define to 1 if you have the stpcpy function. */
#undef HAVE_LANGINFO_CODESET #undef HAVE_STPCPY
/* Define if your <locale.h> file defines LC_MESSAGES. */ /* Define if your locale.h file contains LC_MESSAGES. */
#undef HAVE_LC_MESSAGES #undef HAVE_LC_MESSAGES
/* Define to 1 if translation of program messages to the user's native language /* Define to 1 if NLS is requested. */
is requested. */
#undef ENABLE_NLS #undef ENABLE_NLS
/* Define if the GNU gettext() function is already present or preinstalled. */ /* Define to 1 if you have gettext and don't want to use GNU gettext. */
#undef HAVE_GETTEXT #undef HAVE_GETTEXT
/* Define as 1 if you have catgets and don't want to use GNU gettext. */
#undef HAVE_CATGETS
This diff is collapsed.
...@@ -8,6 +8,7 @@ ALL_LINGUAS="es de fr it id fi hu ca cs gl uk ru sv no" ...@@ -8,6 +8,7 @@ ALL_LINGUAS="es de fr it id fi hu ca cs gl uk ru sv no"
dnl Checks for programs. dnl Checks for programs.
AC_PROG_CC AC_PROG_CC
AC_ISC_POSIX AC_ISC_POSIX
NANO_AC_SYS_LARGEFILE
dnl Checks for header files. dnl Checks for header files.
AC_HEADER_STDC AC_HEADER_STDC
...@@ -289,6 +290,6 @@ then ...@@ -289,6 +290,6 @@ then
fi fi
dnl i18n stuff - pretty incomplete for now dnl i18n stuff - pretty incomplete for now
AM_GNU_GETTEXT NANO_AM_GNU_GETTEXT
AC_OUTPUT([Makefile intl/Makefile po/Makefile.in]) AC_OUTPUT([Makefile intl/Makefile po/Makefile.in])
This diff is collapsed.
This diff is collapsed.
GNU gettext library from gettext-0.10.38 GNU gettext library from gettext-0.10.35
This diff is collapsed.
This diff is collapsed.
/* Implementation of the dgettext(3) function. /* Implementation of the dgettext(3) function
Copyright (C) 1995-1997, 2000, 2001 Free Software Foundation, Inc. Copyright (C) 1995, 1996, 1997 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
...@@ -19,13 +19,14 @@ ...@@ -19,13 +19,14 @@
# include <config.h> # include <config.h>
#endif #endif
#include <locale.h> #if defined HAVE_LOCALE_H || defined _LIBC
# include <locale.h>
#endif
#include "gettextP.h"
#ifdef _LIBC #ifdef _LIBC
# include <libintl.h> # include <libintl.h>
#else #else
# include "libgnuintl.h" # include "libgettext.h"
#endif #endif
/* @@ end of prolog @@ */ /* @@ end of prolog @@ */
......
/* Copyright (C) 1995-1998, 2000, 2001 Free Software Foundation, Inc. /* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995. Contributed by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
...@@ -19,8 +19,15 @@ ...@@ -19,8 +19,15 @@
# include <config.h> # include <config.h>
#endif #endif
#include <stdlib.h> #if defined STDC_HEADERS || defined _LIBC
#include <string.h> # include <stdlib.h>
#endif
#if defined HAVE_STRING_H || defined _LIBC
# include <string.h>
#else
# include <strings.h>
#endif
#include <sys/types.h> #include <sys/types.h>
#include "loadinfo.h" #include "loadinfo.h"
......
/* Handle list of needed message catalogs /* Handle list of needed message catalogs
Copyright (C) 1995-1999, 2000, 2001 Free Software Foundation, Inc. Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
Written by Ulrich Drepper <drepper@gnu.org>, 1995. Written by Ulrich Drepper <drepper@gnu.ai.mit.edu>, 1995.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
...@@ -20,20 +20,45 @@ ...@@ -20,20 +20,45 @@
# include <config.h> # include <config.h>
#endif #endif
#include <ctype.h>
#include <errno.h>
#include <stdio.h> #include <stdio.h>
#include <sys/types.h> #include <sys/types.h>
#include <stdlib.h>
#include <string.h> #if defined STDC_HEADERS || defined _LIBC
# include <stdlib.h>
#else
# ifdef HAVE_MALLOC_H
# include <malloc.h>
# else
void free ();
# endif
#endif
#if defined HAVE_STRING_H || defined _LIBC
# include <string.h>
#else
# include <strings.h>
# ifndef memcpy
# define memcpy(Dst, Src, Num) bcopy (Src, Dst, Num)
# endif
#endif
#if !HAVE_STRCHR && !defined _LIBC
# ifndef strchr
# define strchr index
# endif
#endif
#if defined HAVE_UNISTD_H || defined _LIBC #if defined HAVE_UNISTD_H || defined _LIBC
# include <unistd.h> # include <unistd.h>
#endif #endif
#include "gettext.h"
#include "gettextP.h" #include "gettextP.h"
#ifdef _LIBC #ifdef _LIBC
# include <libintl.h> # include <libintl.h>
#else #else
# include "libgnuintl.h" # include "libgettext.h"
#endif #endif
/* @@ end of prolog @@ */ /* @@ end of prolog @@ */
...@@ -46,11 +71,10 @@ static struct loaded_l10nfile *_nl_loaded_domains; ...@@ -46,11 +71,10 @@ static struct loaded_l10nfile *_nl_loaded_domains;
established bindings. */ established bindings. */
struct loaded_l10nfile * struct loaded_l10nfile *
internal_function internal_function
_nl_find_domain (dirname, locale, domainname, domainbinding) _nl_find_domain (dirname, locale, domainname)
const char *dirname; const char *dirname;
char *locale; char *locale;
const char *domainname; const char *domainname;
struct binding *domainbinding;
{ {
struct loaded_l10nfile *retval; struct loaded_l10nfile *retval;
const char *language; const char *language;
...@@ -96,7 +120,7 @@ _nl_find_domain (dirname, locale, domainname, domainbinding) ...@@ -96,7 +120,7 @@ _nl_find_domain (dirname, locale, domainname, domainbinding)
int cnt; int cnt;
if (retval->decided == 0) if (retval->decided == 0)
_nl_load_domain (retval, domainbinding); _nl_load_domain (retval);
if (retval->data != NULL) if (retval->data != NULL)
return retval; return retval;
...@@ -104,7 +128,7 @@ _nl_find_domain (dirname, locale, domainname, domainbinding) ...@@ -104,7 +128,7 @@ _nl_find_domain (dirname, locale, domainname, domainbinding)
for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
{ {
if (retval->successor[cnt]->decided == 0) if (retval->successor[cnt]->decided == 0)
_nl_load_domain (retval->successor[cnt], domainbinding); _nl_load_domain (retval->successor[cnt]);
if (retval->successor[cnt]->data != NULL) if (retval->successor[cnt]->data != NULL)
break; break;
...@@ -151,14 +175,14 @@ _nl_find_domain (dirname, locale, domainname, domainbinding) ...@@ -151,14 +175,14 @@ _nl_find_domain (dirname, locale, domainname, domainbinding)
return NULL; return NULL;
if (retval->decided == 0) if (retval->decided == 0)
_nl_load_domain (retval, domainbinding); _nl_load_domain (retval);
if (retval->data == NULL) if (retval->data == NULL)
{ {
int cnt; int cnt;
for (cnt = 0; retval->successor[cnt] != NULL; ++cnt) for (cnt = 0; retval->successor[cnt] != NULL; ++cnt)
{ {
if (retval->successor[cnt]->decided == 0) if (retval->successor[cnt]->decided == 0)
_nl_load_domain (retval->successor[cnt], domainbinding); _nl_load_domain (retval->successor[cnt]);
if (retval->successor[cnt]->data != NULL) if (retval->successor[cnt]->data != NULL)
break; break;
} }
...@@ -168,10 +192,6 @@ _nl_find_domain (dirname, locale, domainname, domainbinding) ...@@ -168,10 +192,6 @@ _nl_find_domain (dirname, locale, domainname, domainbinding)
if (alias_value != NULL) if (alias_value != NULL)
free (locale); free (locale);
/* The space for normalized_codeset is dynamically allocated. Free it. */
if (mask & XPG_NORM_CODESET)
free ((void *) normalized_codeset);
return retval; return retval;
} }
...@@ -188,7 +208,6 @@ free_mem (void) ...@@ -188,7 +208,6 @@ free_mem (void)
if (runp->data != NULL) if (runp->data != NULL)
_nl_unload_domain ((struct loaded_domain *) runp->data); _nl_unload_domain ((struct loaded_domain *) runp->data);
runp = runp->next; runp = runp->next;
free ((char *) here->filename);
free (here); free (here);
} }
} }
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
/* Description of GNU message catalog format: string hashing function. /* Implements a string hashing function.
Copyright (C) 1995, 1997, 1998, 2000, 2001 Free Software Foundation, Inc. Copyright (C) 1995, 1997 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify 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 it under the terms of the GNU General Public License as published by
...@@ -11,9 +11,10 @@ ...@@ -11,9 +11,10 @@
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details. GNU General Public License for more details.
You should have received a copy of the GNU General Public License You should have received a copy of the GNU Library General Public
along with this program; if not, write to the Free Software Foundation, License along with the GNU C Library; see the file COPYING.LIB. If not,
Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
Boston, MA 02111-1307, USA. */
/* @@ end of prolog @@ */ /* @@ end of prolog @@ */
......
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment