summaryrefslogtreecommitdiff
path: root/libguile/filesys.c
diff options
context:
space:
mode:
Diffstat (limited to 'libguile/filesys.c')
-rw-r--r--libguile/filesys.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libguile/filesys.c b/libguile/filesys.c
index 2c4168eea..422a44cac 100644
--- a/libguile/filesys.c
+++ b/libguile/filesys.c
@@ -541,12 +541,6 @@ SCM_DEFINE (scm_stat, "stat", 1, 1, 0,
else if (scm_is_string (object))
{
char *file = scm_to_locale_string (object);
-#ifdef __MINGW32__
- char *p;
- p = file + strlen (file) - 1;
- while (p > file && (*p == '/' || *p == '\\'))
- *p-- = '\0';
-#endif
SCM_SYSCALL (rv = stat_or_stat64 (file, &stat_temp));
free (file);
}