mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-28 22:10:29 +02:00
mingw: canonicalize-path: Also canonicalize drive letter and '/'.
* libguile/posix-w32.c (canonicalize_device_name, slashify_file_name): New static functions. (canonicalize_file_name_mingw): Use them in new function. * libguile/posix-w32.h (canonicalize_file_name_mingw): Declare it. (canonicalize_file_name): New define. * libguile/filesys.c[__MINGW32__]: Include posix-w32.h to use it. * libguile/fports.c[__MINGW32__]: Likewise.
This commit is contained in:
parent
558fe0113d
commit
2d82b49cf3
4 changed files with 49 additions and 0 deletions
|
@ -110,4 +110,7 @@ SCM_INTERNAL char *dlerror_w32 (void);
|
|||
#define RTLD_GLOBAL 4
|
||||
#define RTLD_LOCAL 8
|
||||
|
||||
#define canonicalize_file_name canonicalize_file_name_mingw
|
||||
char *canonicalize_file_name_mingw (const char *name);
|
||||
|
||||
#endif /* SCM_POSIX_W32_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue