for `/' _and_ for `0' in full_skeleton.
+2002-05-28 Akim Demaille <akim@epita.fr>
+
+ * src/output.c (output_skeleton): Be sure to allocate enough room
+ for `/' _and_ for `\0' in full_skeleton.
+
2002-05-28 Akim Demaille <akim@epita.fr>
* data/bison.c++: Catch up with bison.simple:
if (!bison_pkgdatadir)
bison_pkgdatadir = PKGDATADIR;
pkg_data_len = strlen (bison_pkgdatadir);
- full_skeleton = XMALLOC (char, pkg_data_len + strlen (skeleton) + 1);
+ full_skeleton = XMALLOC (char, pkg_data_len + strlen (skeleton) + 2);
if (bison_pkgdatadir[pkg_data_len-1] == '/')
sprintf (full_skeleton, "%s%s", bison_pkgdatadir, skeleton);
else