chicken-hackers
[Top][All Lists]
Advanced

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

Re: [Chicken-hackers] [PATCH] no EOVERFLOW on Windows?


From: Alan Post
Subject: Re: [Chicken-hackers] [PATCH] no EOVERFLOW on Windows?
Date: Wed, 12 Oct 2011 07:20:40 -0601

This patch looks fine to me, on OpenBSD there is no errno value for
0, and I think strerror in that case returns something like "no
error."  This define therefor isn't conflicting with an existing
errno condition that could be returned from stat or another syscall.

(I understand this define won't be triggered on OpenBSD; I'm using
that operating system as my example.)

-Alan

On Wed, Oct 12, 2011 at 04:30:55AM -0400, Felix wrote:
> EOVERFLOW was not defined on my mingw system. Define it, if necessary.
> 
> 
> cheers,
> felix

> From 76723bd0f690d18777ee9994da2ca36723139152 Mon Sep 17 00:00:00 2001
> From: felix <address@hidden>
> Date: Wed, 12 Oct 2011 10:24:38 +0200
> Subject: [PATCH 3/4] EOVERFLOW doesn't seem to be there, here in this mingw
>  version
> 
> ---
>  runtime.c |    4 ++++
>  1 files changed, 4 insertions(+), 0 deletions(-)
> 
> diff --git a/runtime.c b/runtime.c
> index 5e2f161..562e790 100644
> --- a/runtime.c
> +++ b/runtime.c
> @@ -55,6 +55,10 @@
>  # define EX_SOFTWARE  70
>  #endif
>  
> +#ifndef EOVERFLOW
> +# define EOVERFLOW  0
> +#endif
> +
>  #if !defined(C_NONUNIX)
>  
>  # include <sys/types.h>
> -- 
> 1.7.6.msysgit.0
> 

> _______________________________________________
> Chicken-hackers mailing list
> address@hidden
> https://lists.nongnu.org/mailman/listinfo/chicken-hackers


-- 
.i ma'a lo bradi cu penmi gi'e du



reply via email to

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