diff options
author | grant <grant> | 2004-03-11 13:47:35 +0000 |
---|---|---|
committer | grant <grant> | 2004-03-11 13:47:35 +0000 |
commit | 619d332ad76f2ba8b55457377d105b7af258a648 (patch) | |
tree | 797d8e980d8dbd14a4897ce649e4ec7fa8331b9d /net/tnftp | |
parent | 58b888a38079fb48c68bd12c9182c249d386b650 (diff) | |
download | pkgsrc-619d332ad76f2ba8b55457377d105b7af258a648.tar.gz |
catch up with bootstrap-pkgsrc changes.
Temporary hack for Interix: for some reason, the detection of getpgrp()
having no arguments is failing there.
Diffstat (limited to 'net/tnftp')
-rw-r--r-- | net/tnftp/files/src/progressbar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/tnftp/files/src/progressbar.c b/net/tnftp/files/src/progressbar.c index b33ce7c4eec..7742a4569c0 100644 --- a/net/tnftp/files/src/progressbar.c +++ b/net/tnftp/files/src/progressbar.c @@ -1,4 +1,4 @@ -/* $NetBSD: progressbar.c,v 1.1 2004/03/11 13:01:01 grant Exp $ */ +/* $NetBSD: progressbar.c,v 1.2 2004/03/11 13:47:35 grant Exp $ */ /*- * Copyright (c) 1997-2003 The NetBSD Foundation, Inc. @@ -39,7 +39,7 @@ #if 0 #include <sys/cdefs.h> #ifndef lint -__RCSID("$NetBSD: progressbar.c,v 1.1 2004/03/11 13:01:01 grant Exp $"); +__RCSID("$NetBSD: progressbar.c,v 1.2 2004/03/11 13:47:35 grant Exp $"); #endif /* not lint */ #endif @@ -61,7 +61,7 @@ foregroundproc(void) static pid_t pgrp = -1; if (pgrp == -1) -#if GETPGRP_VOID +#if GETPGRP_VOID || defined(__OPENNT) pgrp = getpgrp(); #else /* ! GETPGRP_VOID */ pgrp = getpgrp(0); |