Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jul 2000 06:24:29 -0700
From:      "Andrey A. Chernov" <ache@freebsd.org>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        Hajimu UMEMOTO <ume@FreeBSD.ORG>, kuriyama@FreeBSD.ORG, cracauer@FreeBSD.ORG, FreeBSD-current@FreeBSD.ORG
Subject:   Re: /bin/sh dumps core with here-document of 8bit text
Message-ID:  <20000728062429.C49657@freebsd.org>
In-Reply-To: <20000728152019.A14471@cons.org>; from cracauer@cons.org on Fri, Jul 28, 2000 at 03:20:19PM %2B0200
References:  <7mr98fq7b4.wl@waterblue.imgsrc.co.jp> <20000728.150627.74708840.ume@mahoroba.org> <20000728094707.A10655@cons.org> <20000728061533.A49657@freebsd.org> <20000728152019.A14471@cons.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jul 28, 2000 at 03:20:19PM +0200, Martin Cracauer wrote:
> Please refer to my previous mail.  I think it's better to extend the
> internal character handling to int* instead of obfuscating it even
> more with escape sequences (remember that they are processed multiple
> times and such things as taking the length of something, see related
> PR fix recently).

Yes, but it is really big change.

> Until that is done, we should commit this diff, because it *fixes* the
> breakage of coredumping and eating all input (not only th offending
> chars), even when it does not solve the problem of not being 8-bit
> clean.

What about trying double-escape first instead? I.e. escape internal control 
chars just after reading them from input stream? It is less painful then 
converting to 16bit.

-- 
Andrey A. Chernov
<ache@nagual.pp.ru>
http://ache.pp.ru/


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000728062429.C49657>