GNU bug report logs - #52438
29.0.50; [PATCH] Fix off-by-one error in etags.c TeX support

Previous Next

Package: emacs;

Reported by: David Fussner <dfussner <at> googlemail.com>

Date: Sat, 11 Dec 2021 18:58:01 UTC

Severity: normal

Tags: moreinfo, patch

Found in version 29.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 52438 <at> debbugs.gnu.org (full text, mbox):

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 52438 <at> debbugs.gnu.org, David Fussner <dfussner <at> googlemail.com>
Subject: Re: bug#52438: 29.0.50; [PATCH] Fix off-by-one error in etags.c TeX
 support
Date: Sun, 12 Dec 2021 09:49:00 +0100
On Dez 12 2021, Lars Ingebrigtsen wrote:

> +  /* If the environment variable starts with a colon, increase the
> +     length of the token table.  */
> +  if (!strneq (env, ":", 1))

That's a pretty roundabout way to write *env == ':'.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."




This bug report was last modified 3 years and 159 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.