emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/fileio.c


From: Thien-Thi Nguyen
Subject: [Emacs-diffs] Changes to emacs/src/fileio.c
Date: Thu, 03 Mar 2005 15:15:11 -0500

Index: emacs/src/fileio.c
diff -c emacs/src/fileio.c:1.526 emacs/src/fileio.c:1.527
*** emacs/src/fileio.c:1.526    Fri Jan 21 20:51:52 2005
--- emacs/src/fileio.c  Thu Mar  3 20:15:11 2005
***************
*** 148,153 ****
--- 148,157 ----
  #  define lstat stat
  #endif
  
+ #ifndef FILE_SYSTEM_CASE
+ #define FILE_SYSTEM_CASE(filename)  (filename)
+ #endif
+ 
  /* Nonzero during writing of auto-save files */
  int auto_saving;
  
***************
*** 413,421 ****
    if (!NILP (handler))
      return call2 (handler, Qfile_name_directory, filename);
  
- #ifdef FILE_SYSTEM_CASE
    filename = FILE_SYSTEM_CASE (filename);
- #endif
    beg = SDATA (filename);
  #ifdef DOS_NT
    beg = strcpy (alloca (strlen (beg) + 1), beg);
--- 417,423 ----
***************
*** 1124,1133 ****
    /* Filenames on VMS are always upper case.  */
    name = Fupcase (name);
  #endif
- #ifdef FILE_SYSTEM_CASE
    name = FILE_SYSTEM_CASE (name);
- #endif
- 
    nm = SDATA (name);
  
  #ifdef DOS_NT
--- 1126,1132 ----
***************
*** 6385,6391 ****
      {
         Lisp_Object val1 = double_dollars (val);
         tem = Fsymbol_value (Qfile_name_history);
!        if (history_delete_duplicates) 
         XSETCDR (tem, Fdelete (val1, XCDR(tem)));
         XSETCAR (tem, val1);
      }
--- 6384,6390 ----
      {
         Lisp_Object val1 = double_dollars (val);
         tem = Fsymbol_value (Qfile_name_history);
!        if (history_delete_duplicates)
         XSETCDR (tem, Fdelete (val1, XCDR(tem)));
         XSETCAR (tem, val1);
      }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]