GNU bug report logs -
#28233
CC Mode 5.33 (C/*l); Emacs may get stuck with 100% CPU
Previous Next
Full log
Message #19 received at 28233 <at> debbugs.gnu.org (full text, mbox):
Hello again, Mohammed.
On Sun, Aug 27, 2017 at 06:54:11 +0530, Mohammed Sadiq wrote:
[ .... ]
> The patch surely fixed the issue. Thanks
> By the way, the patch wasn't applying to the current HEAD of emacs git.
> I had to manually add those lines it. Is it built from some other
> source? Alternatively, can I say patch to skip some n lines (positive
> or negative) than the ones said in diff and try to apply?
Sorry about that. I fixed the bug, and created the patch in standalone
CC Mode, so the line numbers do differ a bit. However, I checked that
the patch would apply to the Emacs sources before sending it to you, by:
$ patch --dry-run < ~/path/to/diff.20170826.diff
in the Emacs .../lisp/progmodes directory. This `patch' is the standard
GNU utility, with $ patch --version returning:
GNU patch 2.7.5
Copyright (C) 2003, 2009-2012 Free Software Foundation, Inc.
Copyright (C) 1988 Larry Wall
. It copes fine with the line numbers in the patch and the target file
being a little adrift, or with there being extraneous text present (such
as when patch is presented with an entire email as a patch file).
Which patch utility are you using?
--
Alan Mackenzie (Nuremberg, Germany).
This bug report was last modified 7 years and 348 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.