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/mail Pull up revision 1.14 (requested by mycroft):



details:   https://anonhg.NetBSD.org/src/rev/28078c76ec4a
branches:  netbsd-1-4
changeset: 470154:28078c76ec4a
user:      he <he%NetBSD.org@localhost>
date:      Sun Jan 23 12:02:07 2000 +0000

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

diffs (26 lines):

diff -r 91a3d03a5499 -r 28078c76ec4a usr.bin/mail/lex.c
--- a/usr.bin/mail/lex.c        Sun Jan 23 12:01:59 2000 +0000
+++ b/usr.bin/mail/lex.c        Sun Jan 23 12:02:07 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: lex.c,v 1.13 1999/02/09 04:51:30 dean Exp $    */
+/*     $NetBSD: lex.c,v 1.13.2.1 2000/01/23 12:02:07 he Exp $  */
 
 /*
  * Copyright (c) 1980, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)lex.c      8.2 (Berkeley) 4/20/95";
 #else
-__RCSID("$NetBSD: lex.c,v 1.13 1999/02/09 04:51:30 dean Exp $");
+__RCSID("$NetBSD: lex.c,v 1.13.2.1 2000/01/23 12:02:07 he Exp $");
 #endif
 #endif /* not lint */
 
@@ -70,7 +70,6 @@
        char *who = name[1] ? name + 1 : myname;
        static int shudclob;
        extern char *tempMesg;
-       extern int errno;
 
        if ((name = expand(name)) == NOSTR)
                return -1;



Home | Main Index | Thread Index | Old Index