mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-05-23 04:50:28 +02:00
* readline.c (scm_read_history, scm_write_history): Bugfix: Use
SCM_ROCHARS instead of SCM_CHARS.
This commit is contained in:
parent
d1c90db5d6
commit
9fdba2fee5
1 changed files with 2 additions and 2 deletions
|
@ -271,7 +271,7 @@ scm_read_history (SCM file)
|
|||
{
|
||||
SCM_ASSERT (SCM_NIMP (file) && SCM_STRINGP (file),
|
||||
file, SCM_ARG1, s_read_history);
|
||||
return read_history (SCM_CHARS (file)) ? SCM_BOOL_F : SCM_BOOL_T;
|
||||
return read_history (SCM_ROCHARS (file)) ? SCM_BOOL_F : SCM_BOOL_T;
|
||||
}
|
||||
|
||||
|
||||
|
@ -282,7 +282,7 @@ scm_write_history (SCM file)
|
|||
{
|
||||
SCM_ASSERT (SCM_NIMP (file) && SCM_STRINGP (file),
|
||||
file, SCM_ARG1, s_write_history);
|
||||
return write_history (SCM_CHARS (file)) ? SCM_BOOL_F : SCM_BOOL_T;
|
||||
return write_history (SCM_ROCHARS (file)) ? SCM_BOOL_F : SCM_BOOL_T;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue