Ignore:
Timestamp:
2009-04-01T17:14:57Z (16 years ago)
Author:
Jiri Svoboda <jirik.svoboda@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
f25b2819
Parents:
ce87a8aa
Message:

Output CRLF rather than LFCR as the former is the standard one.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/drivers/sgcn.c

    rce87a8aa rb4c4666  
    265265
    266266/**
    267  * SGCN output operation. Prints a single character to the SGCN. If the line
    268  * feed character is written ('\n'), the carriage return character ('\r') is
    269  * written straight away.
     267 * SGCN output operation. Prints a single character to the SGCN. Newline
     268 * character is converted to CRLF.
    270269 */
    271270static void sgcn_putchar(outdev_t *od, const wchar_t ch, bool silent)
     
    275274               
    276275                if (ascii_check(ch)) {
    277                         sgcn_do_putchar(ch);
    278276                        if (ch == '\n')
    279277                                sgcn_do_putchar('\r');
     278                        sgcn_do_putchar(ch);
    280279                } else
    281280                        sgcn_do_putchar(invalch);
Note: See TracChangeset for help on using the changeset viewer.