aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/dired.c5
2 files changed, 4 insertions, 3 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 9f54dcc3bc5..4269bf4655b 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
12011-06-06 Paul Eggert <eggert@cs.ucla.edu> 12011-06-06 Paul Eggert <eggert@cs.ucla.edu>
2 2
3 * dired.c (Ffile_attributes): Don't assume EMACS_INT has >32 bits.
4
3 Don't assume time_t can fit into int. 5 Don't assume time_t can fit into int.
4 * buffer.h (struct buffer.modtime): Now time_t, not int. 6 * buffer.h (struct buffer.modtime): Now time_t, not int.
5 * fileio.c (Fvisited_file_modtime): No need for time_t cast now. 7 * fileio.c (Fvisited_file_modtime): No need for time_t cast now.
diff --git a/src/dired.c b/src/dired.c
index 60d7bc64974..1e587353f6d 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -1013,12 +1013,11 @@ so last access time will always be midnight of that day. */)
1013 The code on the next line avoids a compiler warning on 1013 The code on the next line avoids a compiler warning on
1014 systems where st_ino is 32 bit wide. (bug#766). */ 1014 systems where st_ino is 32 bit wide. (bug#766). */
1015 EMACS_INT high_ino = s.st_ino >> 31 >> 1; 1015 EMACS_INT high_ino = s.st_ino >> 31 >> 1;
1016 EMACS_INT low_ino = s.st_ino & 0xffffffff;
1017 1016
1018 values[10] = Fcons (make_number (high_ino >> 8), 1017 values[10] = Fcons (make_number (high_ino >> 8),
1019 Fcons (make_number (((high_ino & 0xff) << 16) 1018 Fcons (make_number (((high_ino & 0xff) << 16)
1020 + (low_ino >> 16)), 1019 + (s.st_ino >> 16 & 0xffff)),
1021 make_number (low_ino & 0xffff))); 1020 make_number (s.st_ino & 0xffff)));
1022 } 1021 }
1023 1022
1024 /* Likewise for device. */ 1023 /* Likewise for device. */