This commit is contained in:
Justin Ethier 2017-09-03 17:37:38 -04:00
parent 12c91b86a5
commit cd7d3ca7a5
2 changed files with 2 additions and 0 deletions

View file

@ -10,6 +10,7 @@ Features
Bug Fixes
- Fix `read-line` to remove trailing carriage return and/or newline characters. Thanks to wasamasa for the bug report!
- Added a fix from wasamasa to escape double quotation marks in strings when output via `write`.
## 0.6.2 - August 25, 2017

View file

@ -1019,6 +1019,7 @@ static object _Cyc_write(void *data, object x, FILE * port)
case '\t': fprintf(port, "\\t"); break;
case '\v': fprintf(port, "\\v"); break;
case '\\': fprintf(port, "\\\\"); break;
case '\"': fprintf(port, "\\\""); break;
default:
fputc(*s, port);
break;