Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-2-0]: src/lib/libc/stdio Pull up revision 1.4 (requested by jmc i...
details: https://anonhg.NetBSD.org/src/rev/0df65002eda0
branches: netbsd-2-0
changeset: 561502:0df65002eda0
user: tron <tron%NetBSD.org@localhost>
date: Tue Jun 22 07:04:44 2004 +0000
description:
Pull up revision 1.4 (requested by jmc in ticket #527):
make this build in the tools/compat reachover
case if HAVE_FPARSELN is not present
patch from Christian Limpach
diffstat:
lib/libc/stdio/fparseln.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 86839bcfa9db -r 0df65002eda0 lib/libc/stdio/fparseln.c
--- a/lib/libc/stdio/fparseln.c Tue Jun 22 07:03:33 2004 +0000
+++ b/lib/libc/stdio/fparseln.c Tue Jun 22 07:04:44 2004 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fparseln.c,v 1.2.2.1 2004/06/22 07:03:33 tron Exp $ */
+/* $NetBSD: fparseln.c,v 1.2.2.2 2004/06/22 07:04:44 tron Exp $ */
/*
* Copyright (c) 1997 Christos Zoulas. All rights reserved.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#if defined(LIBC_SCCS) && !defined(lint)
-__RCSID("$NetBSD: fparseln.c,v 1.2.2.1 2004/06/22 07:03:33 tron Exp $");
+__RCSID("$NetBSD: fparseln.c,v 1.2.2.2 2004/06/22 07:04:44 tron Exp $");
#endif /* LIBC_SCCS and not lint */
#include "namespace.h"
@@ -48,8 +48,13 @@
#if ! HAVE_FPARSELN
+#ifndef HAVE_NBTOOL_CONFIG_H
#include "reentrant.h"
#include "local.h"
+#else
+#define FLOCKFILE(fp)
+#define FUNLOCKFILE(fp)
+#endif
#ifdef _REENTRANT
#define __fgetln(f, l) __fgetstr(f, l, '\n')
Home |
Main Index |
Thread Index |
Old Index