Changeset 2932830b in rtems


Ignore:
Timestamp:
Feb 20, 2003, 8:45:32 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
9f9ba59
Parents:
64151bf
Message:

2003-02-20 Wolfram Wadepohl <W.Wadepohl@…>

PR 357/rtems_misc

  • src/termios.c (rtems_termios_open): Fixed code the incorrectly checked that the wrong pointer during allocation was NULL.
Location:
cpukit/libcsupport
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/ChangeLog

    r64151bf r2932830b  
     12003-02-20      Wolfram Wadepohl <W.Wadepohl@indumat.de>
     2
     3        PR 357/rtems_misc
     4        * src/termios.c (rtems_termios_open):  Fixed code the incorrectly
     5        checked that the wrong pointer during allocation was NULL.
     6
    172003-02-11      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    28
  • cpukit/libcsupport/src/termios.c

    r64151bf r2932830b  
    184184                tty->rawOutBuf.Size = RAW_OUTPUT_BUFFER_SIZE;
    185185                tty->rawOutBuf.theBuf = malloc (tty->rawOutBuf.Size);
    186                 if (tty->rawInBuf.theBuf == NULL) {
     186                if (tty->rawOutBuf.theBuf == NULL) {
    187187                        free((void *)(tty->rawInBuf.theBuf));
    188188                        free(tty);
Note: See TracChangeset for help on using the changeset viewer.