GNU bug report logs - #17666
24.3.91; [regression] call-process in read-only buffers

Previous Next

Package: emacs;

Reported by: "Roland Winkler" <winkler <at> gnu.org>

Date: Mon, 2 Jun 2014 15:03:02 UTC

Severity: normal

Found in version 24.3.91

Done: "Roland Winkler" <winkler <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Glenn Morris <rgm <at> gnu.org>
Cc: 17666 <at> debbugs.gnu.org, winkler <at> gnu.org
Subject: bug#17666: 24.3.91; [regression] call-process in read-only buffers
Date: Mon, 02 Jun 2014 21:34:55 +0300
> Date: Mon, 02 Jun 2014 13:45:25 -0400
> Cc: 17666 <at> debbugs.gnu.org
> 
> Anyway, it's the prepare_to_modify_buffer in call_process what does it.

Actually, I think the problem is that the code there calls
decode_coding_c_string even if we read zero bytes from the process.
With some coding-systems, this will insert something into the buffer,
so the call to prepare_to_modify_buffer is justified.

But I agree that the previous behavior was sweeping a subtle bug under
the carpet.




This bug report was last modified 11 years and 77 days ago.

Previous Next


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