mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-22 03:30:22 +02:00
Instead calling scm_puts on the SCM_STRING_CHARS of a string, call
scm_display on the string itself.
This commit is contained in:
parent
6d5649b7b8
commit
18f9d34373
1 changed files with 5 additions and 5 deletions
|
@ -484,7 +484,7 @@ observer_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED)
|
|||
SCM base16 = scm_number_to_string (address, scm_from_int (16));
|
||||
|
||||
scm_puts ("#<observer ", port);
|
||||
scm_puts (SCM_STRING_CHARS (base16), port);
|
||||
scm_display (base16, port);
|
||||
scm_puts (">", port);
|
||||
|
||||
return 1;
|
||||
|
@ -982,7 +982,7 @@ leaf_environment_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED)
|
|||
SCM base16 = scm_number_to_string (address, scm_from_int (16));
|
||||
|
||||
scm_puts ("#<leaf environment ", port);
|
||||
scm_puts (SCM_STRING_CHARS (base16), port);
|
||||
scm_display (base16, port);
|
||||
scm_puts (">", port);
|
||||
|
||||
return 1;
|
||||
|
@ -1342,7 +1342,7 @@ eval_environment_print (SCM type, SCM port, scm_print_state *pstate SCM_UNUSED)
|
|||
SCM base16 = scm_number_to_string (address, scm_from_int (16));
|
||||
|
||||
scm_puts ("#<eval environment ", port);
|
||||
scm_puts (SCM_STRING_CHARS (base16), port);
|
||||
scm_display (base16, port);
|
||||
scm_puts (">", port);
|
||||
|
||||
return 1;
|
||||
|
@ -1761,7 +1761,7 @@ import_environment_print (SCM type, SCM port,
|
|||
SCM base16 = scm_number_to_string (address, scm_from_int (16));
|
||||
|
||||
scm_puts ("#<import environment ", port);
|
||||
scm_puts (SCM_STRING_CHARS (base16), port);
|
||||
scm_display (base16, port);
|
||||
scm_puts (">", port);
|
||||
|
||||
return 1;
|
||||
|
@ -2066,7 +2066,7 @@ export_environment_print (SCM type, SCM port,
|
|||
SCM base16 = scm_number_to_string (address, scm_from_int (16));
|
||||
|
||||
scm_puts ("#<export environment ", port);
|
||||
scm_puts (SCM_STRING_CHARS (base16), port);
|
||||
scm_display (base16, port);
|
||||
scm_puts (">", port);
|
||||
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue