diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | progressmeter.c | 4 |
2 files changed, 7 insertions, 3 deletions
@@ -9,6 +9,10 @@ | |||
9 | cleanup_exit() function. re-refine cleanup_exit() where appropriate, | 9 | cleanup_exit() function. re-refine cleanup_exit() where appropriate, |
10 | allocate sshd's authctxt eary to allow simpler cleanup in sshd. | 10 | allocate sshd's authctxt eary to allow simpler cleanup in sshd. |
11 | tested by many, ok deraadt@ | 11 | tested by many, ok deraadt@ |
12 | - markus@cvs.openbsd.org 2003/09/23 20:18:52 | ||
13 | [progressmeter.c] | ||
14 | don't print trailing \0; bug #709; Robert.Dahlem@siemens.com | ||
15 | ok millert/deraadt@ | ||
12 | 16 | ||
13 | 20030930 | 17 | 20030930 |
14 | - (bal) Fix issues in openbsd-compat/realpath.c | 18 | - (bal) Fix issues in openbsd-compat/realpath.c |
@@ -1244,4 +1248,4 @@ | |||
1244 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. | 1248 | - Fix sshd BindAddress and -b options for systems using fake-getaddrinfo. |
1245 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au | 1249 | Report from murple@murple.net, diagnosis from dtucker@zip.com.au |
1246 | 1250 | ||
1247 | $Id: ChangeLog,v 1.3045 2003/10/02 06:12:36 dtucker Exp $ | 1251 | $Id: ChangeLog,v 1.3046 2003/10/02 06:15:15 dtucker Exp $ |
diff --git a/progressmeter.c b/progressmeter.c index c315464ee..a244acf96 100644 --- a/progressmeter.c +++ b/progressmeter.c | |||
@@ -23,7 +23,7 @@ | |||
23 | */ | 23 | */ |
24 | 24 | ||
25 | #include "includes.h" | 25 | #include "includes.h" |
26 | RCSID("$OpenBSD: progressmeter.c,v 1.15 2003/08/31 12:14:22 markus Exp $"); | 26 | RCSID("$OpenBSD: progressmeter.c,v 1.16 2003/09/23 20:18:52 markus Exp $"); |
27 | 27 | ||
28 | #include "progressmeter.h" | 28 | #include "progressmeter.h" |
29 | #include "atomicio.h" | 29 | #include "atomicio.h" |
@@ -200,7 +200,7 @@ refresh_progress_meter(void) | |||
200 | strlcat(buf, " ", win_size); | 200 | strlcat(buf, " ", win_size); |
201 | } | 201 | } |
202 | 202 | ||
203 | atomicio(vwrite, STDOUT_FILENO, buf, win_size); | 203 | atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1); |
204 | last_update = now; | 204 | last_update = now; |
205 | } | 205 | } |
206 | 206 | ||