Download raw body.
POSIX shell portability fixes under regress/
Hi, SOrry for my late reply. Stefan Sperling <stsp@stsp.name> writes: > On Tue, Dec 29, 2020 at 02:13:38PM +0900, Ryo ONODERA wrote: >> I want to use got under NetBSD in future. >> NetBSD's package management system, pkgsrc dislikes == comparison >> in test/[. >> It was my motivation. >> >> GNU sed's -i is always headache for me too. >> >> My patch is intended to fix one problem. >> I would like to submit another patch later. > > Patches for better cross-platform compatibility are always welcome. > If the change improves POSIX compatibility or will work on any *BSD, > please send the patch. Thank you. > If you need to make NetBSD-specific changes, it would be better for me to > keep those changes separate. Perhaps they could be maintained as patch files > in pkgsrc. (The FreeBSD port stores FreeBSD-specific changes as patches in > the FreeBSD ports tree.) Alternatively, I could create a got-portable.git > repository on git.gameoftrees.org for cross-project collaboration. Christian Weisgerber has introduced FreeBSD Ports effort too to me. For NetBSD, I will follow their FreeBSD Ports way. And like other softwares originated from OpenBSD, the portable project may be useful. However I have no idea how much effort is required to keep two repositories... > By the way, about 18 months ago, Thomas Klausner was trying to port Got > to NetBSD. This effort stopped because of portability difficulties. > But because Got now runs on FreeBSD I expect most of these problems > have now been solved. I know Thomas well. Thanks for your portability effort. I will create pkgsrc package in FreeBSD Ports way. > Regards, > Stefan -- Ryo ONODERA // ryo@tetera.org PGP fingerprint = 82A2 DC91 76E0 A10A 8ABB FD1B F404 27FA C7D1 15F3
POSIX shell portability fixes under regress/