--- file.c.orig	2003-07-25 01:30:58.000000000 -0700
+++ file.c	2003-08-06 08:21:20.000000000 -0700
@@ -108,6 +108,16 @@
   memset(file, 0, sizeof(struct FILE));
   conn->proto.file = file;
 
+#if defined(WIN32)
+  /* If the first character is a slash, skip it.  On other
+     platforms, we need the slash to indicate and absolute
+     pathname.  On Windows, absolute paths start with a
+     drive letter.
+  */
+  if (*actual_path == '/')
+    actual_path++;
+#endif
+
 #if defined(WIN32) || defined(__EMX__)
   /* change path separators from '/' to '\\' for Windows and OS/2 */
   for (i=0; actual_path[i] != '\0'; ++i)

