Commit Graph

2 Commits

Author SHA1 Message Date
Zoltan Somogyi
050ab68975 Fix spelling error in comment.
Estimated hours taken: 0.1

tests/hard_coded/string_alignment_bug.m:
	Fix spelling error in comment.
2001-01-15 00:39:50 +00:00
Fergus Henderson
f6a879896d Fix a bug where copy/2 was returning bogus data when copying string literals.
Estimated hours taken: 2

Fix a bug where copy/2 was returning bogus data when copying string literals.

runtime/mercury_deep_copy_body.h:
	Change the code so that it doesn't assume that string literals
	must be aligned, since currently they aren't.

tests/hard_coded/Mmakefile:
tests/hard_coded/string_alignment_bug.m:
tests/hard_coded/string_alignment_bug.exp:
	Add a regression test.
1999-03-24 04:22:18 +00:00