Tomas Volf <~@wolfsden.cz> skribis: > --- a/libguile/posix.c > +++ b/libguile/posix.c > @@ -282,7 +282,7 @@ SCM_DEFINE (scm_pipe2, "pipe", 0, 1, 0, > /* 'pipe2' cannot be emulated on systems that lack it: calling > 'fnctl' afterwards to set the relevant flags is not equivalent > because it's not atomic. */ > - rv = ENOSYS; > + rv = errno = ENOSYS;
It doesn’t make much of a difference but I changed it to: rv = -1, errno = ENOSYS;