Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 10 Jun 2002 11:34:25 +1000 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Giorgos Keramidas <keramida@FreeBSD.ORG>
Cc:        audit@FreeBSD.ORG
Subject:   Re: Compiling bin/ed with WARNS=6
Message-ID:  <20020610112448.G1757-100000@gamplex.bde.org>
In-Reply-To: <20020610004914.GA10811@hades.hell.gr>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 10 Jun 2002, Giorgos Keramidas wrote:

> There are only two small changes that need to be done to ed(1) to make
> it compile cleanly with WARNS=6 in i386/CURRENT.  I have tested the
> ...
> Declare an array of bytes as `char[]' and not `unsigned char[]'.

Er, this seems to break at least get_des_char() if the buffer contains
negative chars.  E.g., the signed char that has the value EOF (if any)
would be indistinguishable from EOF.

Bruce


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




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