diff options
author | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2001-06-26 10:59:34 +0000 |
---|---|---|
committer | Dirk Herrmann <dirk@dirk-herrmanns-seiten.de> | 2001-06-26 10:59:34 +0000 |
commit | 36284627919a6968174b5f17369349187a2b4b1b (patch) | |
tree | 216f50e019e44f18a0d96769c0db47775e26b6f0 /doc/oldfmt.c | |
parent | fbcd68abe9c55fdaa762246a84f3324f11f1b0f8 (diff) | |
download | guile-36284627919a6968174b5f17369349187a2b4b1b.tar.gz |
* Deprecated scm_makfromstr and added scm_mem2string as a replacement.
* Eliminated some potential gc problems.
* Eliminated some signedness problems.
* Minor changes.
Diffstat (limited to 'doc/oldfmt.c')
-rw-r--r-- | doc/oldfmt.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/doc/oldfmt.c b/doc/oldfmt.c index bfd00fe1d..19fbffcc5 100644 --- a/doc/oldfmt.c +++ b/doc/oldfmt.c @@ -1,4 +1,4 @@ -/* Copyright (C) 2000 Free Software Foundation, Inc. +/* Copyright (C) 2000,2001 Free Software Foundation, Inc. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -211,9 +211,8 @@ scm_oldfmt (SCM s) int n; SCM_ASSERT (SCM_NIMP (s) && SCM_STRINGP (s), s, 1, s_oldfmt); n = SCM_LENGTH (s); - return scm_return_first (scm_makfromstr (scm_c_oldfmt (SCM_ROCHARS (s), n), - n, - 0), + return scm_return_first (scm_mem2string (scm_c_oldfmt (SCM_ROCHARS (s), n), + n), s); #endif } |