1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 11:40:18 +02:00

* strings.c (s_scm_string): fix arg position in assert.

This commit is contained in:
Michael Livshin 2001-07-11 22:14:11 +00:00
parent be390de2ba
commit 4d6aae7183
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2001-07-12 Michael Livshin <mlivshin@bigfoot.com>
* strings.c (s_scm_string): fix arg position in assert.
2001-07-11 Gary Houston <ghouston@arglist.com>
* strports.c (st_write): use memcpy, not strncpy. thanks to

View file

@ -98,7 +98,7 @@ SCM_DEFINE (scm_string, "string", 0, 0, 1,
{
long i = scm_ilength (chrs);
SCM_ASSERT (i >= 0, chrs, SCM_ARGn, FUNC_NAME);
SCM_ASSERT (i >= 0, chrs, SCM_ARG1, FUNC_NAME);
result = scm_allocate_string (i);
}