1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-18 01:30:27 +02:00

Revert "Make literal strings (i.e., returned by `read') read-only."

This reverts commit be5c4a82ab.

The rationale is that `read' must return mutable strings, as reported
by szgyg <szgyg@ludens.elte.hu>.
This commit is contained in:
Ludovic Courtès 2008-10-09 23:23:27 +02:00
parent 097158c936
commit 4b600701b9
5 changed files with 13 additions and 38 deletions

View file

@ -514,7 +514,7 @@ scm_read_string (int chr, SCM port)
else
str = (str == SCM_BOOL_F) ? scm_nullstr : str;
return scm_i_make_read_only_string (str);
return str;
}
#undef FUNC_NAME