diff options
author | Michael Gran <spk121@yahoo.com> | 2021-01-21 09:37:49 -0800 |
---|---|---|
committer | Michael Gran <spk121@yahoo.com> | 2021-01-21 10:33:08 -0800 |
commit | 32bf48e4b799a36276198a70b8ce48740100634e (patch) | |
tree | 57cce95d03d785ff6e9b2b54f115ef851698a69a /libguile/filesys.h | |
parent | c67cbc501face03ed0a4d1445e196c3893f0fb3d (diff) | |
download | guile-32bf48e4b799a36276198a70b8ce48740100634e.tar.gz |
Replace mutating mkdtemp! with non-mutating mkdtemp
* doc/ref/posix.texi: replace mkdtemp! and scm_mkdtemp_x documentation
with documentation for mkdtemp and scm_mkdtemp
* libguile/filesys.c (scm_mkdtemp_x): procedure mkdtemp! removed
(scm_mkdtemp): new procedure mkdtemp
* libguile/filesys.h: Remove declaration for scm_mkdtemp_x. New declaration
scm_mkdtemp.
* test-suite/tests/filesys.test: Remove mkdtemp! tests. Add tests
for mkdtemp.
Diffstat (limited to 'libguile/filesys.h')
-rw-r--r-- | libguile/filesys.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/filesys.h b/libguile/filesys.h index 7f8f6ee4e..a3b257c12 100644 --- a/libguile/filesys.h +++ b/libguile/filesys.h @@ -66,7 +66,7 @@ SCM_API SCM scm_readlink (SCM path); SCM_API SCM scm_lstat (SCM str); SCM_API SCM scm_copy_file (SCM oldfile, SCM newfile); SCM_API SCM scm_mkstemp (SCM tmpl); -SCM_API SCM scm_mkdtemp_x (SCM tmpl); +SCM_API SCM scm_mkdtemp (SCM tmpl); SCM_API SCM scm_dirname (SCM filename); SCM_API SCM scm_basename (SCM filename, SCM suffix); SCM_API SCM scm_canonicalize_path (SCM path); |