close must be last to be proted, otherwise YAP gets confused about who owns the stream.

This commit is contained in:
Vitor Santos Costa
2011-02-13 01:29:25 +00:00
parent 80f190bc8a
commit 8b2312daf7
3 changed files with 10 additions and 4 deletions

View File

@@ -421,6 +421,10 @@ putAtom(Atom atom, int Quote_illegal, wrf writewch) /* writes an atom */
return;
}
#endif
if (IsBlob(atom)) {
wrputref(RepAtom(atom),1,writewch);
return;
}
if (IsWideAtom(atom)) {
wchar_t *ws = (wchar_t *)s;