diff options
author | Richard M. Stallman <rms@gnu.org> | 1996-11-07 05:46:56 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1996-11-07 05:46:56 +0000 |
commit | b426b201577fa9a800cc6d4d681df48f45e58ca4 (patch) | |
tree | b2481d9c19d4909ec79c3c3c88201e55af3d7750 /src/dired.c | |
parent | b79b810de0ba3e3e6107de43a3a7b14d50a3c770 (diff) | |
download | emacs-b426b201577fa9a800cc6d4d681df48f45e58ca4.tar.gz |
(Ffile_attributes): Represent inode number as a pair of
integers in case inode numbers do not fit in a Lisp integer.
Diffstat (limited to 'src/dired.c')
-rw-r--r-- | src/dired.c | 7 |
1 files changed, 7 insertions, 0 deletions
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); } |