mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-04-27 16:51:06 -07:00
(Fsafe_length): Use conservative upper bound.
This commit is contained in:
parent
a7f38d28b2
commit
cb3d1a0a4b
1 changed files with 1 additions and 4 deletions
|
|
@ -147,10 +147,7 @@ which is at least the number of distinct elements.")
|
|||
for (tail = list; CONSP (tail); tail = XCONS (tail)->cdr)
|
||||
{
|
||||
if (EQ (tail, halftail) && len != 0)
|
||||
{
|
||||
len /= 2;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
len++;
|
||||
if (len & 1 == 0)
|
||||
halftail = XCONS (halftail)->cdr;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue