Skip to content

OpenBSD 7.5 support

Scot Bontrager requested to merge deviousness/libc:master into master

This is enough to have a large sqlite using program (gotosocial) work.

It does not compete the job of converting all the unix.Syscalls to what they need to be, but it is progress.

scot@scar:/var/www/htdocs/scot/libc % go test -v ./... ? modernc.org/libc/dirent [no test files] ? modernc.org/libc/errno [no test files] ? modernc.org/libc/fcntl [no test files] ? modernc.org/libc/fts [no test files] ? modernc.org/libc/grp [no test files] ? modernc.org/libc/honnef.co/go/netdb [no test files] ? modernc.org/libc/internal/archive [no test files] ? modernc.org/libc/langinfo [no test files] ? modernc.org/libc/limits [no test files] === RUN TestXfmod --- PASS: TestXfmod (0.00s) === RUN TestSwap --- PASS: TestSwap (0.00s) === RUN TestPrintf --- PASS: TestPrintf (0.00s) === RUN TestStrtod --- PASS: TestStrtod (0.00s) === RUN TestParseZone --- PASS: TestParseZone (0.00s) === RUN TestRint --- PASS: TestRint (0.00s) === RUN TestMemset --- PASS: TestMemset (0.00s) === RUN TestGetentropy all_test.go:199: 00000000 fe 24 83 1c 7a 39 bf cf 42 aa 9b f8 49 6b e2 91 |.$..z9..B...Ik..| 00000010 1b a1 97 e2 5c 1e 20 c4 ca a2 bb f0 4d aa 9c 14 |..... .....M...| 00000020 a1 c0 d0 26 2e 68 56 ed e4 ea 3e 88 e9 59 7f a7 |...&.hV...>..Y..| 00000030 e5 86 64 d5 54 82 53 4d fc 52 26 2c 98 2f 72 1d |..d.T.SM.R&,./r.| 00000040 8e a7 b1 fe b2 fc 72 03 c3 e5 7b 9d 61 df 1d 56 |......r...{.a..V| 00000050 59 61 40 8c bc 64 8e 88 e2 34 57 14 0f 91 f9 d3 |Ya@..d...4W.....| 00000060 9e 8d 6b d8 |..k.| --- PASS: TestGetentropy (0.00s) === RUN TestReallocArray --- PASS: TestReallocArray (0.00s) === RUN TestSnprintf --- PASS: TestSnprintf (0.00s) === RUN TestFdopen --- PASS: TestFdopen (0.00s) === RUN TestSync --- PASS: TestSync (0.00s) === RUN TestProbes all_test.go:339: ==== ["b": 1] ---- all_test.go:347: ==== 7 /var/www/htdocs/scot/libc/all_test.go:344 +0x1d2 /usr/local/go/src/testing/testing.go:1689 +0xfb /usr/local/go/src/testing/testing.go:1742 +0x390 20 /var/www/htdocs/scot/libc/all_test.go:342 +0x1a7 /usr/local/go/src/testing/testing.go:1689 +0xfb /usr/local/go/src/testing/testing.go:1742 +0x390

    ----

--- PASS: TestProbes (0.00s) === RUN TestGmtime all_test.go:356: 1712349294 &{Ftm_sec:54 Ftm_min:34 Ftm_hour:20 Ftm_mday:5 Ftm_mon:3 Ftm_year:124 Ftm_wday:5 Ftm_yday:95 Ftm_isdst:0 F__ccgo_pad1:[0 0 0 0] Ftm_gmtoff:0 Ftm_zone:6824976} --- PASS: TestGmtime (0.00s) === RUN TestIssue29 --- PASS: TestIssue29 (0.02s) PASS ok modernc.org/libc 0.046s ? modernc.org/libc/locale [no test files] ? modernc.org/libc/netinet/in [no test files] ? modernc.org/libc/poll [no test files] ? modernc.org/libc/pthread [no test files] ? modernc.org/libc/pwd [no test files] ? modernc.org/libc/signal [no test files] ? modernc.org/libc/stdio [no test files] ? modernc.org/libc/stdlib [no test files] ? modernc.org/libc/sys/socket [no test files] ? modernc.org/libc/sys/stat [no test files] ? modernc.org/libc/sys/types [no test files] ? modernc.org/libc/termios [no test files] ? modernc.org/libc/time [no test files] ? modernc.org/libc/unistd [no test files] ? modernc.org/libc/utime [no test files] ? modernc.org/libc/uuid [no test files] ? modernc.org/libc/netdb [no test files] ? modernc.org/libc/wctype [no test files]

Merge request reports