+2005-03-19 Bruno Haible <bruno@clisp.org>
+
+ * gettextP.h (struct loaded_domain): Remove codeset_cntr field.
+ (struct binding): Likewise.
+ * bindtextdom.c (set_binding_values): Drop codeset_cntr modifications.
+
2005-03-19 Bruno Haible <bruno@clisp.org>
Fix gettext-tools/tests/gettext-5 bug.
/* Implementation of the bindtextdomain(3) function
- Copyright (C) 1995-1998, 2000-2003 Free Software Foundation, Inc.
+ Copyright (C) 1995-1998, 2000-2003, 2005 Free Software Foundation, Inc.
This program is free software; you can redistribute it and/or modify it
under the terms of the GNU Library General Public License as published
free (binding->codeset);
binding->codeset = result;
- binding->codeset_cntr++;
modified = 1;
}
}
/* The default value. */
new_binding->dirname = (char *) INTUSE(_nl_default_dirname);
- new_binding->codeset_cntr = 0;
-
if (codesetp)
{
const char *codeset = *codesetp;
memcpy (result, codeset, len);
#endif
codeset = result;
- new_binding->codeset_cntr++;
}
*codesetp = codeset;
new_binding->codeset = (char *) codeset;