Mercurial > hg > xemacs-beta
changeset 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 | fa3b8eb89cb2 |
children | c9c1c4ce8f0f |
files | src/ChangeLog src/nt.c |
diffstat | 2 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Sat Jun 02 05:40:53 2001 +0000 +++ b/src/ChangeLog Sat Jun 02 06:16:55 2001 +0000 @@ -1,3 +1,9 @@ +2001-06-01 Ben Wing <ben@xemacs.org> + + * nt.c (mswindows_utime): + * nt.c (close_file_data): + fix off-by-one-indirection error. + 2001-06-01 Ben Wing <ben@xemacs.org> * event-msw.c (debug_mswin_messages):
--- 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, ×); + return utime (filename, times); #endif }