Re: mkostemp portability issues

2017-02-20 Thread Matt Wette
> On Feb 20, 2017, at 6:39 PM, Greg Troxel wrote: > + open_flags = O_APPEND|O_DIRECT|O_SHLOCK|O_EXLOCK|O_SYNC|O_CLOEXEC; I think you meant `&=‘

mkostemp portability issues

2017-02-20 Thread Greg Troxel
Earlier I reported that 2.0.13 did not build on NetBSD. Matt Wette pointed me to a debbugs entry. The issue seems to be that mkostemp is not a POSIX-specified interface and the list of acceptable flags differs on different platforms. I have included the patch I just added to pkgsrc, which steal

Re: Bug in system/repl/error-handling.scm ?

2017-02-20 Thread Matt Wette
> On Feb 20, 2017, at 7:02 AM, Daniel Llorens wrote: > > > On 20 Feb 2017, at 15:40, Matt Wette > wrote: > >> This code looks wrong to me: 3rd arg to catch is not a procedure. Am I >> missing something? It starts at line 113 in system/repl/error-handling.scm,

Re: Bug in system/repl/error-handling.scm ?

2017-02-20 Thread Daniel Llorens
On 20 Feb 2017, at 15:40, Matt Wette wrote: > This code looks wrong to me: 3rd arg to catch is not a procedure. Am I > missing something? It starts at line 113 in system/repl/error-handling.scm, > guile-2.0.13: > > (catch #t > (lambda () > (with-default-trap-handler le-tr

Bug in system/repl/error-handling.scm ?

2017-02-20 Thread Matt Wette
This code looks wrong to me: 3rd arg to catch is not a procedure. Am I missing something? It starts at line 113 in system/repl/error-handling.scm, guile-2.0.13: (catch #t (lambda () (with-default-trap-handler le-trap-handler (lambda () (%start-stack #t thunk