Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Jan 1998 13:06:49 -0600
From:      Steve Price <sprice@hiwaay.net>
To:        Kevin McQuiggin <mcquiggi@sfu.ca>
Cc:        bugs@FreeBSD.ORG
Subject:   Re: Bug Report in getty
Message-ID:  <34AE8C49.6201DD56@hiwaay.net>
References:  <199801031820.KAA02422@fraser.sfu.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Kevin McQuiggin wrote:
> 
> Hi FreeBSD:
> 
> I would like to report a bug, and bug fix, for FreeBSD 2.2.2.
> 
[...]
>                                         } else {
>                                                 /* copy standard character */
>                                                 *r++ == *q;
>                                         }
> 
> This "==" looked incorrect as an assignment and I changed it to:
> 
>                                         } else {
>                                                 /* copy standard character */
>                                                 *r++ = *q;
>                                         }
[...]

Thanks for the report!  This has already been fixed by David
Nugent in both -current and the latest stable release, 2.2.5.

steve[/usr/src/libexec/getty]$ cvs log chat.c

RCS file: /home/ncvs/src/libexec/getty/chat.c,v
...
revision 1.4
date: 1997/09/01 10:06:03;  author: davidn;  state: Exp;  lines: +2 -2
Use cgetustr() since we handled special escapes ourselves.
Fix typo in escape parsing function.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
...
revision 1.3.2.1
date: 1997/09/01 10:08:44;  author: davidn;  state: Exp;  lines: +2 -2
MFC: Use cgetustr() and typo (== => =) fix.
PR: 4370
Submitted by: sumii@is.s.u-tokyo.ac.jp
...

Thanks, Steve

> Kevin



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?34AE8C49.6201DD56>