This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: Buffer boundary problem in tty_write().
- To: Alex Mathews <alexma at crosstor dot com>
- Subject: Re: [ECOS] Buffer boundary problem in tty_write().
- From: Jonathan Larmour <jlarmour at cygnus dot co dot uk>
- Date: Mon, 06 Nov 2000 19:40:26 +0000
- CC: eCos List <ecos-discuss at sourceware dot cygnus dot com>
- Organization: Red Hat UK Ltd.
- References: <3A06E479.96892FEF@crosstor.com>
Alex Mathews wrote:
>
> Proposed fix is the following:
>
> -- Index: tty.c
> 178c178
> < if ((size == (BUFSIZE-1)) ||
> ---
> > if ((size >= (BUFSIZE-1)) ||
Good catch. Thanks, applied.
Jifl
--
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow." || These opinions are all my own fault