-/*
- * icalparse.y -- icalendar (RFC 5545) parser
+/* icalparse.y -- icalendar (RFC 5545) parser
*
* This code is Copyright (c) 2014, by the authors of nmh. See the
* COPYRIGHT file in the root directory of the nmh distribution for
contentline *new_node;
NEW0(new_node);
- new_node->name = strdup (name);
+ new_node->name = mh_xstrdup (name);
new_node->next = node->next;
node->next = new_node;
while (len >= cline->input_line_size) {
cline->input_line_size = cline->input_line_size == 0
- ? (BUFSIZ>=8192 ? BUFSIZ : 8192)
+ ? NMH_BUFSIZ
: 2 * cline->input_line_size;
cline->input_line =
mh_xrealloc (cline->input_line, cline->input_line_size);