diff src/nt.c @ 605:47823c2cf014

[xemacs-hg @ 2001-06-02 06:16:53 by ben] nt.c: fix off-by-one-indirection error.
author ben
date Sat, 02 Jun 2001 06:16:55 +0000
parents 4f6ba8f1fb3d
children 38db05db9cb5
line wrap: on
line diff
--- a/src/nt.c	Sat Jun 02 05:40:53 2001 +0000
+++ b/src/nt.c	Sat Jun 02 06:16:55 2001 +0000
@@ -2275,7 +2275,9 @@
 mswindows_utime (Lisp_Object path, struct utimbuf *times)
 {
   struct utimbuf deftime;
+#if 0
   HANDLE fh;
+#endif
   static FILETIME mtime;
   static FILETIME atime;
   Extbyte *filename;
@@ -2311,7 +2313,7 @@
     }
   return 0;
 #else
-  return utime (filename, &times);
+  return utime (filename, times);
 #endif
 }