aboutsummaryrefslogtreecommitdiff
path: root/gas/app.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-01-26 14:56:49 +0000
committerNick Clifton <nickc@redhat.com>2012-01-26 14:56:49 +0000
commitf8819316e7a78afb1f71e461b1d85b624e129855 (patch)
tree68e5176c922cdc7bf071695e041e32f7a657d829 /gas/app.c
parent1712e1d4f7d73b741c8390e11c10d1e162650874 (diff)
downloadgdb-f8819316e7a78afb1f71e461b1d85b624e129855.zip
gdb-f8819316e7a78afb1f71e461b1d85b624e129855.tar.gz
gdb-f8819316e7a78afb1f71e461b1d85b624e129855.tar.bz2
PR gas/13624
* app.c (app_push): Set 'add_newlines' to zero after saving.
Diffstat (limited to 'gas/app.c')
-rw-r--r--gas/app.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gas/app.c b/gas/app.c
index 3229336..e5a7687 100644
--- a/gas/app.c
+++ b/gas/app.c
@@ -275,6 +275,7 @@ app_push (void)
state = 0;
saved_input = NULL;
+ add_newlines = 0;
return (char *) saved;
}