GNU bug report logs - #68272
[PATCH] Fix -1 leaking from C to lisp in 'read-event' etc.

Previous Next

Package: emacs;

Reported by: Tim Ruffing <crypto <at> timruffing.de>

Date: Fri, 5 Jan 2024 21:20:01 UTC

Severity: normal

Tags: patch

Done: Stefan Monnier <monnier <at> iro.umontreal.ca>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: crypto <at> timruffing.de, 68272 <at> debbugs.gnu.org
Subject: Re: bug#68272: [PATCH] Fix -1 leaking from C to lisp in
 'read-event' etc.
Date: Tue, 05 Mar 2024 18:55:18 +0200
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  68272 <at> debbugs.gnu.org
> Date: Tue, 05 Mar 2024 11:45:41 -0500
> 
> Eli Zaretskii [2024-03-05 15:10:39] wrote:
> > IOW, what about callers that actually _want_ to know when the macro
> > ends prematurely?
> 
> I couldn't find any, really.

??? calc is one, obviously.

> > +	  t = 0;
> > +	  /* The Microsoft C compiler can't handle the goto that
> > +	     would go here.  */
> > +	  dummyflag = true;
> > +	  break;
> > +	}
> 
> This "Microsoft C compiler" business dates back to 1994 (commit
> bc536d847736f466727453ca6aa7c07aef6fce46).
> I think it's safe to clean it up now :-)

The commit and its date don't matter, since we dropped support for
MSVC long ago.  We only support GCC on Windows (at least officially).




This bug report was last modified 1 year and 68 days ago.

Previous Next


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