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
ff2bc410
Commit
ff2bc410
authored
Jun 17, 2011
by
Stefan Monnier
Browse files
* src/fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.
parent
25aef8b8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
src/ChangeLog
src/ChangeLog
+4
-0
src/fns.c
src/fns.c
+1
-1
No files found.
src/ChangeLog
View file @
ff2bc410
2011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
* fns.c (Fsafe_length): Yet another int/Lisp_Object mixup.
2011-06-16 Paul Eggert <eggert@cs.ucla.edu>
* lisp.h: Include <limits.h>, for INT_MAX, LONG_MAX, LLONG_MAX.
...
...
src/fns.c
View file @
ff2bc410
...
...
@@ -168,7 +168,7 @@ which is at least the number of distinct elements. */)
uintmax_t
lolen
=
1
;
if
(
!
CONSP
(
list
))
return
0
;
return
make_number
(
0
)
;
/* halftail is used to detect circular lists. */
for
(
tail
=
halftail
=
list
;
;
)
...
...
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