Commit 11b459cf by Richard Stallman

(copy_node): Copy the excess bytes--don't clear them.

From-SVN: r2551
parent ea7273ae
......@@ -981,7 +981,7 @@ copy_node (node)
((int *) t)[i] = ((int *) node)[i];
/* Clear any extra bytes. */
for (i = length / sizeof (int) * sizeof (int); i < length; i++)
((char *) t)[i] = 0;
((char *) t)[i] = ((char *) node)[i];
TREE_CHAIN (t) = 0;
......
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