pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/arena Upgrade arena from version 0.9.8 to 0.9.9.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d2ab3e038c3f
branches: trunk
changeset: 521656:d2ab3e038c3f
user: agc <agc%pkgsrc.org@localhost>
date: Thu Nov 16 21:52:19 2006 +0000
description:
Upgrade arena from version 0.9.8 to 0.9.9.
Changes in this version include:
This release fixes a possible double free problem in the
printf() implementation. The problem occurred when more
conversion specifiers than function arguments were present and
the format required a cast from the dummy void value used by
the implementation to another type. Thanks to Dennis Heuer
for reporting the problem.
Also based on a suggestion by Dennis, the interpreter no
longer allows non-terminated escape sequences in string
literals. In other words, a string literal may no longer end
in a backslash character.
Alistair Crooks provided a couple of new example scripts that
include interfacing to native C libraries under NetBSD. He
also suggested to allow hexadecimal integer literals. These
are now allowed and need to be prefixed with "0x". For
example, "0xFF" or "0xff" is the same as writing "255".
Fabian Tschiatschek provided a patch to allow extra arguments
to be passed to map, filter, foldl, foldr, drop_while, and
take_while. These are passed down into the function provided
as the first argument. Fabian also noticed that the
documentation and implementation of foldr did not agree about
the order of arguments. The implementation was changed to
match the language manual.
There is a new library function called is_null that can check
whether a memory resource contains a C NULL pointer.
patch-ab has now been removed since, with the inclusion of is_null(), there
is no need for it.
diffstat:
devel/arena/Makefile | 4 ++--
devel/arena/distinfo | 9 ++++-----
devel/arena/patches/patch-ab | 13 -------------
3 files changed, 6 insertions(+), 20 deletions(-)
diffs (44 lines):
diff -r 331a55ba7cae -r d2ab3e038c3f devel/arena/Makefile
--- a/devel/arena/Makefile Thu Nov 16 20:18:09 2006 +0000
+++ b/devel/arena/Makefile Thu Nov 16 21:52:19 2006 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.3 2006/10/31 20:37:24 agc Exp $
+# $NetBSD: Makefile,v 1.4 2006/11/16 21:52:19 agc Exp $
-DISTNAME= arena-0.9.8
+DISTNAME= arena-0.9.9
CATEGORIES= devel
MASTER_SITES= http://www.minimalinux.org/arena/
diff -r 331a55ba7cae -r d2ab3e038c3f devel/arena/distinfo
--- a/devel/arena/distinfo Thu Nov 16 20:18:09 2006 +0000
+++ b/devel/arena/distinfo Thu Nov 16 21:52:19 2006 +0000
@@ -1,7 +1,6 @@
-$NetBSD: distinfo,v 1.3 2006/10/31 20:37:24 agc Exp $
+$NetBSD: distinfo,v 1.4 2006/11/16 21:52:19 agc Exp $
-SHA1 (arena-0.9.8.tar.gz) = 6d8893d9685755ac3dbfdb0a757d88d99e8daecf
-RMD160 (arena-0.9.8.tar.gz) = 5c023a097a35a674734d2cdf0abd84546905c415
-Size (arena-0.9.8.tar.gz) = 232764 bytes
+SHA1 (arena-0.9.9.tar.gz) = 384e562bcab29d0c8351a2c9430277894501a09d
+RMD160 (arena-0.9.9.tar.gz) = c09830b8f5344d2b765eefbf05856a3c6fe3537a
+Size (arena-0.9.9.tar.gz) = 239433 bytes
SHA1 (patch-aa) = 2a5d33427ea7cf5217e4415f1a445253c862a250
-SHA1 (patch-ab) = f3c6959c457a7ec0db0ad822e0c78bd7a616c32f
diff -r 331a55ba7cae -r d2ab3e038c3f devel/arena/patches/patch-ab
--- a/devel/arena/patches/patch-ab Thu Nov 16 20:18:09 2006 +0000
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.1 2006/10/27 20:43:27 agc Exp $
-
---- libstdlib/foreign.c 2006/10/27 18:48:01 1.1
-+++ libstdlib/foreign.c 2006/10/27 18:48:35
-@@ -262,7 +262,7 @@
- break;
- case 'p':
- pres = ptrcall(func, args, dargs);
-- res = mem_make_pointer(pres, mfree);
-+ res = (pres) ? mem_make_pointer(pres, mfree) : value_make_void();
- break;
- default:
- res = value_make_void();
Home |
Main Index |
Thread Index |
Old Index