aboutsummaryrefslogtreecommitdiffstats
path: root/src/dired.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/dired.c b/src/dired.c
index 951969be0a4..2240f6ec76e 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -859,7 +859,6 @@ file_name_completion_stat (dirname, dp, st_addr)
859 char *fullname = (char *) alloca (len + pos + 2); 859 char *fullname = (char *) alloca (len + pos + 2);
860 860
861#ifdef MSDOS 861#ifdef MSDOS
862#if __DJGPP__ > 1
863 /* Some fields of struct stat are *very* expensive to compute on MS-DOS, 862 /* Some fields of struct stat are *very* expensive to compute on MS-DOS,
864 but aren't required here. Avoid computing the following fields: 863 but aren't required here. Avoid computing the following fields:
865 st_inode, st_size and st_nlink for directories, and the execute bits 864 st_inode, st_size and st_nlink for directories, and the execute bits
@@ -868,7 +867,6 @@ file_name_completion_stat (dirname, dp, st_addr)
868 unsigned short save_djstat_flags = _djstat_flags; 867 unsigned short save_djstat_flags = _djstat_flags;
869 868
870 _djstat_flags = _STAT_INODE | _STAT_EXEC_MAGIC | _STAT_DIRSIZE; 869 _djstat_flags = _STAT_INODE | _STAT_EXEC_MAGIC | _STAT_DIRSIZE;
871#endif /* __DJGPP__ > 1 */
872#endif /* MSDOS */ 870#endif /* MSDOS */
873 871
874 bcopy (SDATA (dirname), fullname, pos); 872 bcopy (SDATA (dirname), fullname, pos);
@@ -888,9 +886,7 @@ file_name_completion_stat (dirname, dp, st_addr)
888#else 886#else
889 value = stat (fullname, st_addr); 887 value = stat (fullname, st_addr);
890#ifdef MSDOS 888#ifdef MSDOS
891#if __DJGPP__ > 1
892 _djstat_flags = save_djstat_flags; 889 _djstat_flags = save_djstat_flags;
893#endif /* __DJGPP__ > 1 */
894#endif /* MSDOS */ 890#endif /* MSDOS */
895 return value; 891 return value;
896#endif /* S_IFLNK */ 892#endif /* S_IFLNK */