Re: Compiling bin/ed with WARNS=6

Bruce Evans <[email protected]>
Newsgroups gmane.os.freebsd.devel.audit
Message-ID <[email protected]>
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 [email protected]
with "unsubscribe freebsd-audit" in the body of the message
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.