w3m

Unnamed repository; edit this file to name it for gitweb.
git clone https://logand.com/git/w3m.git/
Log | Files | Refs | README

commit 8be2da2f6edf19d900ed68034c000d877e941327
parent d275afbdcd02cd5bdc4a864d9cf18a9626c8ccf1
Author: ukai <ukai>
Date:   Wed, 29 Sep 2004 15:44:03 +0000

* [w3m-dev 04108] PIPE_BUF
* main.c (pipeBuf): set buf->currentURL.file to prevent
	segfault by "PIPE_BUF cat;VIEW SOURCE;"
From: Hiroyuki Ito <ZXB01226@nifty.com>

Diffstat:
MChangeLog | 6++++++
Mmain.c | 1+
2 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,9 @@ +2004-09-30 Hiroyuki Ito <ZXB01226@nifty.com> + + * [w3m-dev 04108] PIPE_BUF + * main.c (pipeBuf): set buf->currentURL.file to prevent + segfault by "PIPE_BUF cat;VIEW SOURCE;" + 2004-08-31 SAKAI Kiyotaka <ksakai@kso.netwk.ntt-at.co.jp> * [w3m-dev 04104] w3mmail.cgi diff --git a/main.c b/main.c @@ -1966,6 +1966,7 @@ DEFUN(pipeBuf, PIPE_BUF, "Send rendered document to pipe") buf->bufferprop |= (BP_INTERNAL | BP_NO_URL); if (buf->type == NULL) buf->type = "text/plain"; + buf->currentURL.file = "-"; pushBuffer(buf); } displayBuffer(Currentbuf, B_FORCE_REDRAW);