w3m

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

commit 398ef613664fb700917ab2c499d4c5b18fb0fe36
parent c19ed4318f879a17ec8ca8b04d51cda2dd42bfd0
Author: ukai <ukai>
Date:   Mon, 10 Dec 2001 16:29:37 +0000

[w3m-dev 02650]
From: Kiyokazu SUTO <suto@ks-and-ks.ne.jp>

Diffstat:
MChangeLog | 5+++++
Mfile.c | 2+-
2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/ChangeLog b/ChangeLog @@ -1,3 +1,8 @@ +2001-12-11 Kiyokazu SUTO <suto@ks-and-ks.ne.jp> + + * [w3m-dev 02650] + * file.c (readHeader): Strnew_charp_n() should be used + 2001-12-11 Fumitoshi UKAI <ukai@debian.or.jp> * [w3m-dev 02647] diff --git a/file.c b/file.c @@ -560,7 +560,7 @@ readHeader(URLFile *uf, Buffer *newBuf, int thru, ParsedURL *pu) tmp = Strnew_size(lineBuf2->length); for (p = lineBuf2->ptr; *p; p = q) { for (q = p; *q && *q != '\r' && *q != '\n'; q++) ; - lineBuf2 = checkType(Strnew_charp(p), propBuffer, + lineBuf2 = checkType(Strnew_charp_n(p, q - p), propBuffer, #ifdef USE_ANSI_COLOR NULL, NULL, #endif