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/edquota Pull up revision 1.20 (requested by my...



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

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

diffs (20 lines):

diff -r 1254c6b786bd -r 3cb3a119a89e usr.sbin/edquota/edquota.c
--- a/usr.sbin/edquota/edquota.c        Sun Jan 23 12:03:05 2000 +0000
+++ b/usr.sbin/edquota/edquota.c        Sun Jan 23 12:03:13 2000 +0000
@@ -44,7 +44,7 @@
 #if 0
 static char sccsid[] = "from: @(#)edquota.c    8.3 (Berkeley) 4/27/95";
 #else
-__RCSID("$NetBSD: edquota.c,v 1.17.2.1 1999/12/16 23:55:37 he Exp $");
+__RCSID("$NetBSD: edquota.c,v 1.17.2.2 2000/01/23 12:03:13 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -241,7 +241,6 @@
        int qcmd, qupsize, fd;
        char *qfpathname;
        static int warned = 0;
-       extern int errno;
 
        setfsent();
        quptail = NULL;



Home | Main Index | Thread Index | Old Index