+2009-01-25 Bruno Haible <bruno@clisp.org>
+
+ Fix bug introduced on 2008-10-04.
+ * read-catalog-abstract.c (po_parse_comment_special): Initialize
+ *rangep.
+
2009-01-18 Bruno Haible <bruno@clisp.org>
* msgfmt.c: Include str-list.h.
/* Reading PO files, abstract class.
- Copyright (C) 1995-1996, 1998, 2000-2008 Free Software Foundation, Inc.
+ Copyright (C) 1995-1996, 1998, 2000-2009 Free Software Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
}
-/* Parse a special comment and put the result in *fuzzyp, formatp, *wrapp. */
+/* Parse a special comment and put the result in *fuzzyp, formatp, *rangep,
+ *wrapp. */
void
po_parse_comment_special (const char *s,
bool *fuzzyp, enum is_format formatp[NFORMATS],
*fuzzyp = false;
for (i = 0; i < NFORMATS; i++)
formatp[i] = undecided;
+ rangep->min = -1;
+ rangep->max = -1;
*wrapp = undecided;
while (*s != '\0')
/* Reading PO files, abstract class.
- Copyright (C) 1995-1996, 1998, 2000-2003, 2005-2006, 2008 Free Software Foundation, Inc.
+ Copyright (C) 1995-1996, 1998, 2000-2003, 2005-2006, 2008-2009 Free Software Foundation, Inc.
This file was written by Peter Miller <millerp@canb.auug.org.au>
extern void po_callback_comment_special (const char *s);
extern void po_callback_comment_dispatcher (const char *s);
-/* Parse a special comment and put the result in *fuzzyp, formatp, *wrapp. */
+/* Parse a special comment and put the result in *fuzzyp, formatp, *rangep,
+ *wrapp. */
extern void po_parse_comment_special (const char *s, bool *fuzzyp,
enum is_format formatp[NFORMATS],
struct argument_range *rangep,