[Top][All Lists]

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

Re: proposed getitimer and setitimer functions

From: Rob Browning
Subject: Re: proposed getitimer and setitimer functions
Date: 07 Jul 2001 12:09:25 -0500
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

Martin Grabmueller <address@hidden> writes:

> I have a comment about the code above.  You are passing NULL to
> scm_num2long because you checked with SCM_VALIDATE_NUMBER before.
> This is not correct, because SCM_VALIDATE_NUMBER allows inexact
> numbers and bignums.  scm_num2long will throw an out-of-range error
> when given an inexact number or one that does not fit into a long
> variable, thus passing NULL as the caller's name to scm_out_of_range.
> I don't know what happens when NULL is given as a function name, but I
> suppose it will be at least less informative than passing FUNC_NAME.

Thanks.  I'll fix that.

Rob Browning
rlb,, and
GPG=1C58 8B2C FB5E 3F64 EA5C  64AE 78FE E5FE F0CB A0AD

reply via email to

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