1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-24 04:15:36 +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:
Jan (janneke) Nieuwenhuizen 2021-12-12 15:48:18 +01:00 committed by Michael Gran
parent 558fe0113d
commit 2d82b49cf3
4 changed files with 49 additions and 0 deletions

View file

@ -83,6 +83,9 @@
#include "ports-internal.h"
#include "ports.h"
#include "posix.h"
#if __MINGW32__
#include "posix-w32.h"
#endif
#include "smob.h"
#include "srfi-13.h"
#include "strings.h"