diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 4 | ||||
| -rw-r--r-- | src/dired.c | 10 |
2 files changed, 14 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d1528cbfe4e..e41f04ef6ff 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive. | ||
| 4 | |||
| 1 | 2008-03-31 Chong Yidong <cyd@stupidchicken.com> | 5 | 2008-03-31 Chong Yidong <cyd@stupidchicken.com> |
| 2 | 6 | ||
| 3 | * xdisp.c (next_overlay_string): Don't set | 7 | * xdisp.c (next_overlay_string): Don't set |
diff --git a/src/dired.c b/src/dired.c index 1a80a41633d..31b7e19ddae 100644 --- a/src/dired.c +++ b/src/dired.c | |||
| @@ -1028,7 +1028,17 @@ Elements of the attribute list are: | |||
| 1028 | values[9] = (gid != getegid ()) ? Qt : Qnil; | 1028 | values[9] = (gid != getegid ()) ? Qt : Qnil; |
| 1029 | #endif /* BSD4_2 (or BSD4_3) */ | 1029 | #endif /* BSD4_2 (or BSD4_3) */ |
| 1030 | /* Shut up GCC warnings in FIXNUM_OVERFLOW_P below. */ | 1030 | /* Shut up GCC warnings in FIXNUM_OVERFLOW_P below. */ |
| 1031 | #ifdef WINDOWSNT | ||
| 1032 | { | ||
| 1033 | /* The bit-shuffling we do in w32.c:stat can turn on the MSB, which | ||
| 1034 | will produce negative inode numbers. People don't like that, so | ||
| 1035 | force a positive inode instead. */ | ||
| 1036 | unsigned short tem = s.st_ino; | ||
| 1037 | ino = tem; | ||
| 1038 | } | ||
| 1039 | #else | ||
| 1031 | ino = s.st_ino; | 1040 | ino = s.st_ino; |
| 1041 | #endif | ||
| 1032 | if (FIXNUM_OVERFLOW_P (ino)) | 1042 | if (FIXNUM_OVERFLOW_P (ino)) |
| 1033 | /* To allow inode numbers larger than VALBITS, separate the bottom | 1043 | /* To allow inode numbers larger than VALBITS, separate the bottom |
| 1034 | 16 bits. */ | 1044 | 16 bits. */ |