Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-4]: src/usr.sbin/repquota Pull up revision 1.16 (requested by m...



details:   https://anonhg.NetBSD.org/src/rev/b9bfdbe7a234
branches:  netbsd-1-4
changeset: 470163:b9bfdbe7a234
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:03:29 2000 +0000

description:
Pull up revision 1.16 (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.sbin/repquota/repquota.c |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 172ac7d6faa8 -r b9bfdbe7a234 usr.sbin/repquota/repquota.c
--- a/usr.sbin/repquota/repquota.c      Sun Jan 23 12:03:21 2000 +0000
+++ b/usr.sbin/repquota/repquota.c      Sun Jan 23 12:03:29 2000 +0000
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "@(#)repquota.c 8.2 (Berkeley) 11/22/94";
 #else
-__RCSID("$NetBSD: repquota.c,v 1.14 1998/07/27 00:52:03 mycroft Exp $");
+__RCSID("$NetBSD: repquota.c,v 1.14.2.1 2000/01/23 12:03:29 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -193,7 +193,6 @@
        static struct dqblk zerodqblk;
        static int warned = 0;
        static int multiple = 0;
-       extern int errno;
 
        if (quotactl(fs->fs_file, QCMD(Q_SYNC, type), 0, 0) < 0 &&
            errno == EOPNOTSUPP && !warned && vflag) {



Home | Main Index | Thread Index | Old Index