guile-user
[Top][All Lists]
Advanced

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

Re: guile 1.5.6 make check failures on netbsd 1.5.3ish


From: Marius Vollmer
Subject: Re: guile 1.5.6 make check failures on netbsd 1.5.3ish
Date: 06 May 2002 21:27:44 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2

Greg Troxel <address@hidden> writes:

> Trying to do the srfi-19 test in parts by hand, it fails because
>   (putenv "TZ")
> fails.  putenv with a name=value arg works.
> Reading the sources, it appears that in posix.c, plain "putenv" is called.
> The man pages on FreeBSD and NetBSD indicate that putenv requires an =
> in the argument.

So does the GNU/Linux man page.  The GNU libc info file does specify
the behavior that Guile assumes.  I tend to trust the GNU libc manual.

I will install a workaround for systems where putenv("VAR") fails.

> For the regexp tests, the problem seems to be this:
> 
>   guile> (make-regexp "") 
>   <unnamed port>:6:1: In procedure make-regexp in expression (make-regexp ""):
>   <unnamed port>:6:1: empty (sub)expression
>   ABORT: (regular-expression-syntax)
> 
> NetBSD man pages claim that regcomp (in libc) complies with IEEE Std
> 1003.2-1992 (``POSIX.2'') and lists the following error code:
> 
>      REG_EMPTY        empty (sub)expression
> 
> So, we need a POSIX lawyer to tell us whether NetBSD's (and FreeBSD's)
> regcomp is wrong, or whether it is a bug in the guile test to expect
> regcomp on the empty string to succeed without error.

We can just delete the tests.



reply via email to

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