pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/tnftp/files/src catch up with bootstrap-pkgsrc cha...
details: https://anonhg.NetBSD.org/pkgsrc/rev/dd5438702893
branches: trunk
changeset: 470695:dd5438702893
user: grant <grant%pkgsrc.org@localhost>
date: Thu Mar 11 13:47:35 2004 +0000
description:
catch up with bootstrap-pkgsrc changes.
Temporary hack for Interix: for some reason, the detection of getpgrp()
having no arguments is failing there.
diffstat:
net/tnftp/files/src/progressbar.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f989b43d2317 -r dd5438702893 net/tnftp/files/src/progressbar.c
--- a/net/tnftp/files/src/progressbar.c Thu Mar 11 13:45:57 2004 +0000
+++ b/net/tnftp/files/src/progressbar.c Thu Mar 11 13:47:35 2004 +0000
@@ -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 @@
static pid_t pgrp = -1;
if (pgrp == -1)
-#if GETPGRP_VOID
+#if GETPGRP_VOID || defined(__OPENNT)
pgrp = getpgrp();
#else /* ! GETPGRP_VOID */
pgrp = getpgrp(0);
Home |
Main Index |
Thread Index |
Old Index