[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-61-gb4a099

From: Mark H Weaver
Subject: [Guile-commits] GNU Guile branch, stable-2.0, updated. v2.0.9-61-gb4a0998
Date: Tue, 06 Aug 2013 22:02:44 +0000

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Guile".

The branch, stable-2.0 has been updated
       via  b4a099883d20d7852c95acf07ab6cbc56bce18c4 (commit)
      from  524140436fc03ee439d5c358c8c7a4c2c559684a (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b4a099883d20d7852c95acf07ab6cbc56bce18c4
Author: David Kastrup <address@hidden>
Date:   Tue Aug 6 18:01:54 2013 -0400

    Fix display of symbols containing backslashes.
    Fixes <>.
    * libguile/print.c (print_extended_symbol): Double print backslashes.
    Signed-off-by: Mark H Weaver <address@hidden>


Summary of changes:
 libguile/print.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/libguile/print.c b/libguile/print.c
index fa84990..4e68fd6 100644
--- a/libguile/print.c
+++ b/libguile/print.c
@@ -410,7 +410,8 @@ print_extended_symbol (SCM sym, SCM port)
                                             | UC_CATEGORY_MASK_Zs))
-          if (!display_character (c, port, strategy))
+          if (!display_character (c, port, strategy)
+              || (c == '\\' && !display_character (c, port, strategy)))
             scm_encoding_error ("print_extended_symbol", errno,
                                 "cannot convert to output locale",
                                 port, SCM_MAKE_CHAR (c));

GNU Guile

reply via email to

[Prev in Thread] Current Thread [Next in Thread]