Re: FreeBSD integer->errno
Roderic Morris <[email protected]> Sun, 19 Jan 2014 06:13:50 -0500
| Newsgroups | gmane.lisp.scheme.scheme48 |
|---|---|
| Message-ID | <CAOSQKRjvCNetCK6SJYH=7Hmo+zjjudtxsXEPxy7ZqK0Mh_hBZg@mail.gmail.com> |
--001a11c30ce2a8479b04f050ded9 Content-Type: text/plain; charset=ISO-8859-1 Thanks Will! Hi Mike, is there any chance of this making it into a minor release any time soon? The bug breaks things pretty badly for BSD users of scsh, and the only workaround I can think of (groggy at 6am) is to redefine it within the project. -Roderic On Jan 19, 2014 3:55 AM, "Michael Sperber" <[email protected]> wrote: > > William Vining <[email protected]> writes: > > > integer->errno (in scheme/posix/errno.scm, accessible from the > > posix-errnos structure) fails on FreeBSD for any named errno at a > > higher index than #{errno nodata} in the named-errno vector. [...] > > > > The problem can be solved trivially by adding a guard to > > integer->errno: [...] > > Thanks! > > I've pushed your fix. > > > I'm new to scheme48, so I wanted to run this by the community for > > input. If anybody has any thoughts or comments please let me know. > > Also I'm not sure how the development process works WRT > > proposing/reviewing/testing/comiting changes. > > What you did is fine. Submitting a patch or a Mercurial changeset would > make it even easier. > > -- > Regards, > Mike > > --001a11c30ce2a8479b04f050ded9 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Thanks Will!</p> <p dir=3D"ltr">Hi Mike, is there any chance of this making it into a minor = release any time soon? The bug breaks things pretty badly for BSD users of = scsh, and the only workaround I can think of (groggy at 6am)=A0 is to redef= ine it within the project.</p> <p dir=3D"ltr">-Roderic</p> <div class=3D"gmail_quote">On Jan 19, 2014 3:55 AM, "Michael Sperber&q= uot; <<a href=3D"mailto:[email protected]">[email protected]= </a>> wrote:<br type=3D"attribution"><blockquote class=3D"gmail_quote" s= tyle=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"> <br> William Vining <<a href=3D"mailto:[email protected]">[email protected]= </a>> writes:<br> <br> > integer->errno (in scheme/posix/errno.scm, accessible from the<br> > posix-errnos structure) fails on FreeBSD for any named errno at a<br> > higher index than #{errno nodata} in the named-errno vector. [...]<br> ><br> > The problem can be solved trivially by adding a guard to<br> > integer->errno: [...]<br> <br> Thanks!<br> <br> I've pushed your fix.<br> <br> > I'm new to scheme48, so I wanted to run this by the community for<= br> > input. If anybody has any thoughts or comments please let me know.<br> > Also I'm not sure how the development process works WRT<br> > proposing/reviewing/testing/comiting changes.<br> <br> What you did is fine. =A0Submitting a patch or a Mercurial changeset would<= br> make it even easier.<br> <br> --<br> Regards,<br> Mike<br> <br> </blockquote></div> --001a11c30ce2a8479b04f050ded9--