diff options
author | Kaz Kylheku <kaz@kylheku.com> | 2016-11-10 20:53:02 -0800 |
---|---|---|
committer | Kaz Kylheku <kaz@kylheku.com> | 2016-11-10 20:53:02 -0800 |
commit | 026f72eda529e6987e7435a857f576a94d323b82 (patch) | |
tree | 4637e390e6f340e157cd0df763f5868b8d27b45f | |
parent | f4c34351c5b2b61439b1fcf7f8358b9755d198a3 (diff) | |
download | txr-026f72eda529e6987e7435a857f576a94d323b82.tar.gz txr-026f72eda529e6987e7435a857f576a94d323b82.tar.bz2 txr-026f72eda529e6987e7435a857f576a94d323b82.zip |
Fix circular printing issue for package objects.
* lib.c (obj_print_impl): Print package name using ~a
rather than ~s. Otherwise if the string object occurs
elsewhere in the structure being printed, we have a problem.
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -9651,7 +9651,7 @@ dot: put_string(symbol_name(obj), out); break; case PKG: - format(out, lit("#<package: ~s>"), obj->pk.name, nao); + format(out, lit("#<package: ~a>"), obj->pk.name, nao); break; case FUN: { |