pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/nbsed/files added auxillary definition for sy...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1c307a3caaf6
branches: trunk
changeset: 503821:1c307a3caaf6
user: schwarz <schwarz%pkgsrc.org@localhost>
date: Wed Nov 30 21:07:14 2005 +0000
description:
added auxillary definition for systems that do not define _POSIX2_LINE_MAX
(such as IRIX 5). Change approved by jschauma.
diffstat:
textproc/nbsed/files/compile.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (29 lines):
diff -r bf50a22a3dfd -r 1c307a3caaf6 textproc/nbsed/files/compile.c
--- a/textproc/nbsed/files/compile.c Wed Nov 30 20:16:15 2005 +0000
+++ b/textproc/nbsed/files/compile.c Wed Nov 30 21:07:14 2005 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $ */
+/* $NetBSD: compile.c,v 1.7 2005/11/30 21:07:14 schwarz Exp $ */
/*-
* Copyright (c) 1992, 1993
@@ -78,7 +78,7 @@
#if 0
static char sccsid[] = "@(#)compile.c 8.2 (Berkeley) 4/28/95";
#else
-__RCSID("$NetBSD: compile.c,v 1.6 2004/08/21 08:39:54 jlam Exp $");
+__RCSID("$NetBSD: compile.c,v 1.7 2005/11/30 21:07:14 schwarz Exp $");
#endif
#endif /* not lint */
@@ -117,6 +117,10 @@
#include "defs.h"
#include "extern.h"
+#ifndef _POSIX2_LINE_MAX
+#define _POSIX2_LINE_MAX 2048
+#endif
+
#define LHSZ 128
#define LHMASK (LHSZ - 1)
static struct labhash {
Home |
Main Index |
Thread Index |
Old Index