From: Richard M. Stallman Date: Thu, 7 Nov 1996 05:46:56 +0000 (+0000) Subject: (Ffile_attributes): Represent inode number as a pair of X-Git-Tag: emacs-20.1~3412 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=88b09a17736ea30e30d4db717ca2e7d40f8adac7;p=emacs.git (Ffile_attributes): Represent inode number as a pair of integers in case inode numbers do not fit in a Lisp integer. --- diff --git a/src/dired.c b/src/dired.c index 1e7c9a80228..844c00687a2 100644 --- a/src/dired.c +++ b/src/dired.c @@ -684,7 +684,14 @@ If file does not exist, returns nil.") #ifdef BSD4_3 #undef BSD4_2 /* ok, you can look again without throwing up */ #endif +#if 1 + /* To allow inode numbers larger than VALBITS, separate the bottom + 16 bits. */ + values[10] = Fcons (make_number (s.st_ino >> 16), + make_number (s.st_ino & 0xffff)); +#else values[10] = make_number (s.st_ino); +#endif values[11] = make_number (s.st_dev); return Flist (sizeof(values) / sizeof(values[0]), values); }