diff options
| author | Karl Heuer | 1995-07-20 20:26:06 +0000 |
|---|---|---|
| committer | Karl Heuer | 1995-07-20 20:26:06 +0000 |
| commit | cb3d1a0a4ba9f729afdc1bcac4a9ac23a7e8e780 (patch) | |
| tree | cdd6cf289ad8857fa9e219b928ff716742860397 /src | |
| parent | a7f38d28b20318ba55da1334783bb77f4d143d4f (diff) | |
| download | emacs-cb3d1a0a4ba9f729afdc1bcac4a9ac23a7e8e780.tar.gz emacs-cb3d1a0a4ba9f729afdc1bcac4a9ac23a7e8e780.zip | |
(Fsafe_length): Use conservative upper bound.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 5 |
1 files changed, 1 insertions, 4 deletions
| @@ -147,10 +147,7 @@ which is at least the number of distinct elements.") | |||
| 147 | for (tail = list; CONSP (tail); tail = XCONS (tail)->cdr) | 147 | for (tail = list; CONSP (tail); tail = XCONS (tail)->cdr) |
| 148 | { | 148 | { |
| 149 | if (EQ (tail, halftail) && len != 0) | 149 | if (EQ (tail, halftail) && len != 0) |
| 150 | { | 150 | break; |
| 151 | len /= 2; | ||
| 152 | break; | ||
| 153 | } | ||
| 154 | len++; | 151 | len++; |
| 155 | if (len & 1 == 0) | 152 | if (len & 1 == 0) |
| 156 | halftail = XCONS (halftail)->cdr; | 153 | halftail = XCONS (halftail)->cdr; |