Changeset a029230a in rtems


Ignore:
Timestamp:
Sep 18, 2017, 9:31:33 AM (2 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
9a50e32
Parents:
f3b29236
git-author:
Sebastian Huber <sebastian.huber@…> (09/18/17 09:31:33)
git-committer:
Sebastian Huber <sebastian.huber@…> (09/19/17 05:21:37)
Message:

Add "\n" to "\r\n" translation to rtems_putc()

Update #3122.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/rtems_putc.c

    rf3b29236 ra029230a  
    77
    88/*
    9  * Copyright (c) 2012 embedded brains GmbH.  All rights reserved.
     9 * Copyright (c) 2012, 2017 embedded brains GmbH.  All rights reserved.
    1010 *
    1111 *  embedded brains GmbH
     
    2828void rtems_putc(char c)
    2929{
     30  if (c == '\n') {
     31    (*BSP_output_char)('\r');
     32  }
     33
    3034  (*BSP_output_char)(c);
    3135}
Note: See TracChangeset for help on using the changeset viewer.