mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-06 05:52:32 -08:00
(Ffile_attributes): Represent inode number as a pair of
integers in case inode numbers do not fit in a Lisp integer.
This commit is contained in:
parent
684f4cb3f2
commit
88b09a1773
1 changed files with 7 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue