aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libgloss/ChangeLog4
-rw-r--r--libgloss/rl78/write.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/libgloss/ChangeLog b/libgloss/ChangeLog
index 6556028..fbab758 100644
--- a/libgloss/ChangeLog
+++ b/libgloss/ChangeLog
@@ -1,3 +1,7 @@
+2015-12-16 Kevin Buettner <kevinb@redhat.com>
+
+ * rl78/write.c (_write): Don't output CR when LF is encountered.
+
2015-12-04 Nick Clifton <nickc@redhat.com>
* msp430/msp430xl-sim.ld (__high_bsssize): Define.
diff --git a/libgloss/rl78/write.c b/libgloss/rl78/write.c
index 0b42220..849470c 100644
--- a/libgloss/rl78/write.c
+++ b/libgloss/rl78/write.c
@@ -101,8 +101,6 @@ _write(int fd, char *ptr, int len)
while (len != 0)
{
- if (*ptr == '\n')
- tputc ('\r');
tputc (*ptr);
ptr ++;
len --;