(STRING_SYSCALL, STRING2_SYSCALL): New helper macros.
authorMarius Vollmer <mvo@zagadka.de>
Thu, 12 Aug 2004 17:32:07 +0000 (17:32 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Thu, 12 Aug 2004 17:32:07 +0000 (17:32 +0000)
commit1299a0f17b334b2b901f383aeae49fd772b8a477
tree6a4b0ab28e6b5648d149309938e939bc9aee4ee7
parentf015614ae0102da219e2de3892d6bf51a4a499d7
(STRING_SYSCALL, STRING2_SYSCALL): New helper macros.
Use them instead of SCM_SYSCALL when one or two strings need to be
converted into locale strings.
(my_rename): New, gathers platform dependent code for renaming.
(scm_rename): Use it.
(scm_readlink, scm_copy_file): Convert SCM strings to locale
strings instead of accessing their internals.
(scm_basename, scm_dirname): Use SCM_I_STRING_CHARS and
SCM_I_STRING_LENGTH instead of SCM_STRING_CHARS and
SCM_STRING_LENGTH.
libguile/filesys.c