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/tftp Pull up revision 1.11 (via patch, requeste...
details: https://anonhg.NetBSD.org/src/rev/7001261ab266
branches: netbsd-1-4
changeset: 470177:7001261ab266
user: he <he%NetBSD.org@localhost>
date: Sun Jan 23 12:10:09 2000 +0000
description:
Pull up revision 1.11 (via patch, 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/tftp/tftp.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (27 lines):
diff -r 4d542647b6e7 -r 7001261ab266 usr.bin/tftp/tftp.c
--- a/usr.bin/tftp/tftp.c Sun Jan 23 12:05:34 2000 +0000
+++ b/usr.bin/tftp/tftp.c Sun Jan 23 12:10:09 2000 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tftp.c,v 1.9 1998/12/19 22:41:21 christos Exp $ */
+/* $NetBSD: tftp.c,v 1.9.2.1 2000/01/23 12:10:09 he Exp $ */
/*
* Copyright (c) 1983, 1993
@@ -38,7 +38,7 @@
#if 0
static char sccsid[] = "@(#)tftp.c 8.1 (Berkeley) 6/6/93";
#else
-__RCSID("$NetBSD: tftp.c,v 1.9 1998/12/19 22:41:21 christos Exp $");
+__RCSID("$NetBSD: tftp.c,v 1.9.2.1 2000/01/23 12:10:09 he Exp $");
#endif
#endif /* not lint */
@@ -66,8 +66,6 @@
#include "extern.h"
#include "tftpsubs.h"
-extern int errno;
-
extern struct sockaddr_in peeraddr; /* filled in by main */
extern int f; /* the opened socket */
extern int trace;
Home |
Main Index |
Thread Index |
Old Index