Changeset 35b8dbb9 in rtems


Ignore:
Timestamp:
May 26, 2003, 3:57:21 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
7406ae3e
Parents:
5f196d7
Message:

2003-04-17 Thomas Doerfler <Thomas.Doerfler@…>

PR 399/rtems_misc

  • src/termios.c: In canonical mode, when input is present in the input buffer that contains an EOL character and some following characters, a read call read data behind the EOL character, although it should stop reading with the EOL character.
Location:
cpukit/libcsupport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r5f196d7 r35b8dbb9  
     12003-04-17      Thomas Doerfler <Thomas.Doerfler@imd-systems.de>
     2
     3        PR 399/rtems_misc
     4        * src/termios.c: In canonical mode, when input is present in the
     5        input buffer that contains an EOL character and some following
     6        characters, a read call read data behind the EOL character, although
     7        it should stop reading with the EOL character.
     8
    192003-04-17      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    210
  • cpukit/libcsupport/src/termios.c

    r5f196d7 r35b8dbb9  
    10641064                        /* continue processing new character */
    10651065                        if (tty->termios.c_lflag & ICANON) {
    1066                                 if  (siproc (c, tty))
     1066                                if  (siproc (c, tty)) {
    10671067                                        wait = 0;
     1068               break; /* done */
     1069            }
    10681070                        }
    10691071                        else {
     
    15111513        }
    15121514}
     1515
Note: See TracChangeset for help on using the changeset viewer.