diff options
author | agc <agc@pkgsrc.org> | 2006-11-16 21:52:19 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2006-11-16 21:52:19 +0000 |
commit | ada6ffabe21b329f68d27cc7ecb21875fdbdfda5 (patch) | |
tree | b2a281ccf26548ee50efd35689dc29f959c5fa19 /devel | |
parent | 657e39cbb628d089874fcd9e13f49f0ad25a3cf6 (diff) | |
download | pkgsrc-ada6ffabe21b329f68d27cc7ecb21875fdbdfda5.tar.gz |
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 (limited to 'devel')
-rw-r--r-- | devel/arena/Makefile | 4 | ||||
-rw-r--r-- | devel/arena/distinfo | 9 | ||||
-rw-r--r-- | devel/arena/patches/patch-ab | 13 |
3 files changed, 6 insertions, 20 deletions
diff --git a/devel/arena/Makefile b/devel/arena/Makefile index 708444585f9..208b0253f68 100644 --- a/devel/arena/Makefile +++ b/devel/arena/Makefile @@ -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 --git a/devel/arena/distinfo b/devel/arena/distinfo index df5169ae770..af572b476bf 100644 --- a/devel/arena/distinfo +++ b/devel/arena/distinfo @@ -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 --git a/devel/arena/patches/patch-ab b/devel/arena/patches/patch-ab deleted file mode 100644 index 5010e052572..00000000000 --- a/devel/arena/patches/patch-ab +++ /dev/null @@ -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(); |