diff options
author | grant <grant@pkgsrc.org> | 2004-03-11 13:47:35 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-03-11 13:47:35 +0000 |
commit | 23fdb93bbd28cc72f4f079dac6ebaa2ce5b3ee65 (patch) | |
tree | 797d8e980d8dbd14a4897ce649e4ec7fa8331b9d /net/tnftp | |
parent | 1a61d55e3d2eabc6dea208d1eb3d0089d48b09a6 (diff) | |
download | pkgsrc-23fdb93bbd28cc72f4f079dac6ebaa2ce5b3ee65.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); |