Mercurial > hg > xemacs-beta
diff src/nt.c @ 263:727739f917cb r20-5b30
Import from CVS: tag r20-5b30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 10:24:41 +0200 |
parents | 41f2f0e326e9 |
children | c5d627a313b1 |
line wrap: on
line diff
--- a/src/nt.c Mon Aug 13 10:23:52 2007 +0200 +++ b/src/nt.c Mon Aug 13 10:24:41 2007 +0200 @@ -89,9 +89,11 @@ #include "ntheap.h" -extern Lisp_Object Vwin32_downcase_file_names; +extern Lisp_Object Vmswindows_downcase_file_names; +#if 0 extern Lisp_Object Vwin32_generate_fake_inodes; -extern Lisp_Object Vwin32_get_true_file_attributes; +#endif +extern Lisp_Object Vmswindows_get_true_file_attributes; static char startup_dir[ MAXPATHLEN ]; @@ -324,7 +326,7 @@ fp += 2; } - if (NILP (Vwin32_downcase_file_names)) + if (NILP (Vmswindows_downcase_file_names)) { while (*fp) { @@ -1215,7 +1217,7 @@ strcpy (dir_static.d_name, dir_find_data.cFileName); if (dir_is_fat) _strlwr (dir_static.d_name); - else if (!NILP (Vwin32_downcase_file_names)) + else if (!NILP (Vmswindows_downcase_file_names)) { REGISTER char *p; for (p = dir_static.d_name; *p; p++) @@ -1524,7 +1526,7 @@ static long double utc_base; static int init = 0; -static time_t +time_t convert_time (FILETIME ft) { long double ret; @@ -1719,7 +1721,7 @@ buf->st_nlink = 2; /* doesn't really matter */ fake_inode = 0; /* this doesn't either I think */ } - else if (!NILP (Vwin32_get_true_file_attributes)) + else if (!NILP (Vmswindows_get_true_file_attributes)) { /* This is more accurate in terms of gettting the correct number of links, but is quite slow (it is noticable when Emacs is