Mercurial > emacs
changeset 89012:0457e4f05273
(safe_to_load_p): Fix the logic.
author | Kenichi Handa <handa@m17n.org> |
---|---|
date | Mon, 19 Aug 2002 11:34:28 +0000 |
parents | 16822384f7ed |
children | 2719eb325636 |
files | src/lread.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/lread.c Mon Aug 19 11:00:39 2002 +0000 +++ b/src/lread.c Mon Aug 19 11:34:28 2002 +0000 @@ -760,8 +760,8 @@ if (i == 4) version = buf[i]; - if (i < nbytes - && fast_c_string_match_ignore_case (Vbytecomp_version_regexp, + if (i == nbytes + || fast_c_string_match_ignore_case (Vbytecomp_version_regexp, buf + i) < 0) safe_p = 0; }