mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-24 12:20:20 +02:00
* files.c (scm_sys_delete_file): Moved to filesys.c.
File is now empty; deleted. * files.h: Deleted. * filesys.c: scm_sys_delete_file is now here. Remove #if's; they seem to rely on remnants of an old portability regimen. If the problems come up again, solve them properly, using autoconf. Specifically: Don't test M_SYSV, and #define remove to be unlink if it's #defined; don't use remove just because HAVE_STDC_HEADERS is #defined. * filesys.h: Add declarations for scm_sys_delete_file. * Makefile.in (libobjs, inner_h_files, c_files, gen_c_files): Omit files.o, files.h, files.c, and files.x. * init.c: Don't #include "files.h", and don't call scm_init_files.
This commit is contained in:
parent
35440081d7
commit
2f3ed1ba2c
4 changed files with 21 additions and 11 deletions
|
@ -85,6 +85,7 @@ extern SCM scm_sys_dup (SCM oldfd, SCM newfd);
|
|||
extern SCM scm_sys_stat (SCM fd_or_path);
|
||||
extern SCM scm_sys_link (SCM oldpath, SCM newpath);
|
||||
extern SCM scm_sys_rename (SCM oldname, SCM newname);
|
||||
extern SCM scm_sys_delete_file (SCM str);
|
||||
extern SCM scm_sys_mkdir (SCM path, SCM mode);
|
||||
extern SCM scm_sys_rmdir (SCM path);
|
||||
extern SCM scm_sys_opendir (SCM dirname);
|
||||
|
@ -115,6 +116,7 @@ extern SCM scm_sys_dup ();
|
|||
extern SCM scm_sys_stat ();
|
||||
extern SCM scm_sys_link ();
|
||||
extern SCM scm_sys_rename ();
|
||||
extern SCM scm_sys_delete_file ();
|
||||
extern SCM scm_sys_mkdir ();
|
||||
extern SCM scm_sys_rmdir ();
|
||||
extern SCM scm_sys_opendir ();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue