mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-26 15:24:47 +02:00
- (djm) OpenBSD CVS Sync
- markus@cvs.openbsd.org 2003/03/17 10:38:38 [progressmeter.c] don't print \n if backgrounded; from ho@
This commit is contained in:
parent
4e4dc561ae
commit
05f5578e1f
@ -1,3 +1,9 @@
|
|||||||
|
20030320
|
||||||
|
- (djm) OpenBSD CVS Sync
|
||||||
|
- markus@cvs.openbsd.org 2003/03/17 10:38:38
|
||||||
|
[progressmeter.c]
|
||||||
|
don't print \n if backgrounded; from ho@
|
||||||
|
|
||||||
20030318
|
20030318
|
||||||
- (tim) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
|
- (tim) [configure.ac openbsd-compat/bsd-misc.c openbsd-compat/bsd-misc.h]
|
||||||
add nanosleep(). testing/corrections by Darren Tucker <dtucker@zip.com.au>
|
add nanosleep(). testing/corrections by Darren Tucker <dtucker@zip.com.au>
|
||||||
@ -1222,4 +1228,4 @@
|
|||||||
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
save auth method before monitor_reset_key_state(); bugzilla bug #284;
|
||||||
ok provos@
|
ok provos@
|
||||||
|
|
||||||
$Id: ChangeLog,v 1.2631 2003/03/18 18:21:40 tim Exp $
|
$Id: ChangeLog,v 1.2632 2003/03/19 23:08:05 djm Exp $
|
||||||
|
@ -60,7 +60,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include "includes.h"
|
#include "includes.h"
|
||||||
RCSID("$OpenBSD: progressmeter.c,v 1.2 2003/01/12 16:57:02 markus Exp $");
|
RCSID("$OpenBSD: progressmeter.c,v 1.3 2003/03/17 10:38:38 markus Exp $");
|
||||||
|
|
||||||
#ifdef HAVE_LIBGEN_H
|
#ifdef HAVE_LIBGEN_H
|
||||||
#include <libgen.h>
|
#include <libgen.h>
|
||||||
@ -126,7 +126,8 @@ stop_progress_meter()
|
|||||||
{
|
{
|
||||||
alarm(0);
|
alarm(0);
|
||||||
draw_progress_meter();
|
draw_progress_meter();
|
||||||
atomicio(write, fileno(stdout), "\n", 1);
|
if (foregroundproc() != 0)
|
||||||
|
atomicio(write, fileno(stdout), "\n", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user