Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-4]: src/usr.bin/systat Pull up revision 1.24 (requested by mycr...
details: https://anonhg.NetBSD.org/src/rev/b48b83a00bbf
branches: netbsd-1-4
changeset: 470157:b48b83a00bbf
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:02:34 2000 +0000
description:
Pull up revision 1.24 (requested by mycroft):
Always do the errno indirection hack, so that non-threaded
libraries get the right errno value when linked with -lpthread.
This means "always include <errno.h> and never declare errno
yourself".
diffstat:
usr.bin/systat/vmstat.c | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diffs (26 lines):
diff -r b2c9c550c177 -r b48b83a00bbf usr.bin/systat/vmstat.c
--- a/usr.bin/systat/vmstat.c Sun Jan 23 12:02:26 2000 +0000
+++ b/usr.bin/systat/vmstat.c Sun Jan 23 12:02:34 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: vmstat.c,v 1.19 1999/03/24 05:51:32 mrg Exp $ */
+/* $NetBSD: vmstat.c,v 1.19.2.1 2000/01/23 12:02:34 he Exp $ */
/*-
* Copyright (c) 1983, 1989, 1992, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)vmstat.c 8.2 (Berkeley) 1/12/94";
#endif
-__RCSID("$NetBSD: vmstat.c,v 1.19 1999/03/24 05:51:32 mrg Exp $");
+__RCSID("$NetBSD: vmstat.c,v 1.19.2.1 2000/01/23 12:02:34 he Exp $");
#endif /* not lint */
/*
@@ -596,7 +596,6 @@
{
int mib[2];
size_t size;
- extern int errno;
dkreadstats();
NREAD(X_CPTIME, s->time, sizeof s->time);
Home |
Main Index |
Thread Index |
Old Index