]> git.eshelyaron.com Git - emacs.git/commitdiff
Undo part of previous change
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Aug 2018 21:11:25 +0000 (14:11 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 22 Aug 2018 21:14:21 +0000 (14:14 -0700)
Issue spotted by Pip Cet in:
https://lists.gnu.org/r/emacs-devel/2018-08/msg00758.html
* lisp/vc/vc-hg.el (vc-hg--raw-dirstate-search):
Go back to using eq on flen, since it must be a fixnum.

lisp/vc/vc-hg.el

index d11dc4c5f419b05b6656ed46c180981a41fa7779..76eec884a1746e47ae4051664d96fee418a92652 100644 (file)
@@ -629,7 +629,7 @@ Return the byte's value as an integer."
         ;; 1+4*4 is the length of the dirstate item header.
         (forward-char (1+ (* 3 4)))
         (let ((this-flen (vc-hg--read-u32-be)))
-          (if (and (or (eql this-flen flen)
+          (if (and (or (eq this-flen flen)
                        (and (> this-flen flen)
                             (eq (char-after (+ (point) flen)) 0)))
                    (search-forward fname (+ (point) flen) t))