chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-hackers] [PATCH] Raise error on construction of too large vecto


From: Christian Kellermann
Subject: [Chicken-hackers] [PATCH] Raise error on construction of too large vectors/blobs
Date: Sun, 4 Mar 2012 10:36:35 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

Hi,

the attached patch raises an error when one tries to create too
large vectors or blobs.  Before a out of range error message has
been raised, which can be a bit confusing (at least to me). Also
this patch adjusts the check to the respective srfi-4 maximum values.

A small section in the srfi-4 manual has been added to explain these
limits (they were not obvious to me).

Tests have been added to verify the existance of these limits.

This patch needs to be tested on a 64bit system, as I don't have
access to one atm.

The discussion has been triggered by bug #794.

Thanks,

Christian

-- 
Who can (make) the muddy water (clear)? Let it be still, and it will
gradually become clear. Who can secure the condition of rest? Let
movement go on, and the condition of rest will gradually arise.
 -- Lao Tse. 

Attachment: 0002-Raise-error-on-construction-of-too-large-vectors-blo.patch
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]