Commit 294f1153 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(Ffile_attributes) [WINDOWSNT]: Force inode be positive.

parent ae0ece90
2008-03-14 Eli Zaretskii <>
* dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive.
* w32fns.c (globals_of_w32fns, Fx_create_frame): Fix last change.
2008-03-14 Jason Rumney <>
......@@ -1021,7 +1021,17 @@ Elements of the attribute list are:
values[9] = (gid != getegid ()) ? Qt : Qnil;
#endif /* BSD4_2 (or BSD4_3) */
/* Shut up GCC warnings in FIXNUM_OVERFLOW_P below. */
/* The bit-shuffling we do in w32.c:stat can turn on the MSB, which
will produce negative inode numbers. People don't like that, so
force a positive inode instead. */
unsigned short tem = s.st_ino;
ino = tem;
ino = s.st_ino;
/* To allow inode numbers larger than VALBITS, separate the bottom
16 bits. */
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment