[progressmeter.c]
     don't print trailing \0; bug #709; Robert.Dahlem@siemens.com
     ok millert/deraadt@
This commit is contained in:
Darren Tucker 2003-10-02 16:15:15 +10:00
parent 3e33cecf71
commit 6cc310bd5f
2 changed files with 7 additions and 3 deletions

View File

@ -9,6 +9,10 @@
cleanup_exit() function. re-refine cleanup_exit() where appropriate,
allocate sshd's authctxt eary to allow simpler cleanup in sshd.
tested by many, ok deraadt@
- markus@cvs.openbsd.org 2003/09/23 20:18:52
[progressmeter.c]
don't print trailing \0; bug #709; Robert.Dahlem@siemens.com
ok millert/deraadt@
20030930
- (bal) Fix issues in openbsd-compat/realpath.c
@ -1244,4 +1248,4 @@
- Fix sshd BindAddress and -b options for systems using fake-getaddrinfo.
Report from murple@murple.net, diagnosis from dtucker@zip.com.au
$Id: ChangeLog,v 1.3045 2003/10/02 06:12:36 dtucker Exp $
$Id: ChangeLog,v 1.3046 2003/10/02 06:15:15 dtucker Exp $

View File

@ -23,7 +23,7 @@
*/
#include "includes.h"
RCSID("$OpenBSD: progressmeter.c,v 1.15 2003/08/31 12:14:22 markus Exp $");
RCSID("$OpenBSD: progressmeter.c,v 1.16 2003/09/23 20:18:52 markus Exp $");
#include "progressmeter.h"
#include "atomicio.h"
@ -200,7 +200,7 @@ refresh_progress_meter(void)
strlcat(buf, " ", win_size);
}
atomicio(vwrite, STDOUT_FILENO, buf, win_size);
atomicio(vwrite, STDOUT_FILENO, buf, win_size - 1);
last_update = now;
}