Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
f8edfd76
Commit
f8edfd76
authored
Oct 06, 2001
by
Gerd Moellmann
Browse files
(Ffile_attributes): Use FIXNUM_OVERFLOW_P.
parent
1a4372ef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
src/dired.c
src/dired.c
+2
-2
No files found.
src/dired.c
View file @
f8edfd76
...
...
@@ -891,7 +891,7 @@ If file does not exist, returns nil.")
values
[
9
]
=
(
s
.
st_gid
!=
getegid
())
?
Qt
:
Qnil
;
#endif
/* BSD4_2 (or BSD4_3) */
/* Cast -1 to avoid warning if int is not as wide as VALBITS. */
if
(
s
.
st_ino
&
(((
EMACS_INT
)
(
-
1
))
<<
VALBITS
))
if
(
FIXNUM_OVERFLOW_P
(
s
.
st_ino
))
/* To allow inode numbers larger than VALBITS, separate the bottom
16 bits. */
values
[
10
]
=
Fcons
(
make_number
(
s
.
st_ino
>>
16
),
...
...
@@ -901,7 +901,7 @@ If file does not exist, returns nil.")
values
[
10
]
=
make_number
(
s
.
st_ino
);
/* Likewise for device. */
if
(
s
.
st_dev
&
(((
EMACS_INT
)
(
-
1
))
<<
VALBITS
))
if
(
FIXNUM_OVERFLOW_P
(
s
.
st_dev
))
values
[
11
]
=
Fcons
(
make_number
(
s
.
st_dev
>>
16
),
make_number
(
s
.
st_dev
&
0xffff
));
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment