pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/bmake/files
Module Name: pkgsrc
Committed By: tnn
Date: Sun Apr 3 19:18:00 UTC 2022
Modified Files:
pkgsrc/devel/bmake/files: parse.c
Log Message:
bmake: provide last-resort SIZE_MAX fallback for pre-<stdint.h> systems
Not committed in src/usr.bin/make because the code has diverged and
this patch doesn't look to be needed there.
It is OK to undo this change when pkgsrc imports a newer bmake.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 pkgsrc/devel/bmake/files/parse.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/bmake/files/parse.c
diff -u pkgsrc/devel/bmake/files/parse.c:1.12 pkgsrc/devel/bmake/files/parse.c:1.13
--- pkgsrc/devel/bmake/files/parse.c:1.12 Sun May 24 21:10:17 2020
+++ pkgsrc/devel/bmake/files/parse.c Sun Apr 3 19:18:00 2022
@@ -1,4 +1,4 @@
-/* $NetBSD: parse.c,v 1.12 2020/05/24 21:10:17 nia Exp $ */
+/* $NetBSD: parse.c,v 1.13 2022/04/03 19:18:00 tnn Exp $ */
/*
* Copyright (c) 1988, 1989, 1990, 1993
@@ -69,14 +69,14 @@
*/
#ifndef MAKE_NATIVE
-static char rcsid[] = "$NetBSD: parse.c,v 1.12 2020/05/24 21:10:17 nia Exp $";
+static char rcsid[] = "$NetBSD: parse.c,v 1.13 2022/04/03 19:18:00 tnn Exp $";
#else
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char sccsid[] = "@(#)parse.c 8.3 (Berkeley) 3/19/94";
#else
-__RCSID("$NetBSD: parse.c,v 1.12 2020/05/24 21:10:17 nia Exp $");
+__RCSID("$NetBSD: parse.c,v 1.13 2022/04/03 19:18:00 tnn Exp $");
#endif
#endif /* not lint */
#endif
@@ -140,6 +140,10 @@ __RCSID("$NetBSD: parse.c,v 1.12 2020/05
#ifdef HAVE_STDINT_H
#include <stdint.h>
+#else
+#ifndef SIZE_MAX
+#define SIZE_MAX 0xffffffffUL
+#endif
#endif
#ifdef HAVE_MMAP
Home |
Main Index |
Thread Index |
Old Index