aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/syscall/errstr.go
AgeCommit message (Collapse)AuthorFilesLines
2023-10-23syscall: add missing type conversionIan Lance Taylor1-1/+1
The gofrontend incorrectly accepted code that was missing a type conversion. The test case for this is bug518.go in https://go.dev/cl/536537. Future CLs in this series will detect the type error. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/536638
2022-11-29syscall, runtime: always call XSI strerror_rIan Lance Taylor1-13/+9
This does the right thing for either glibc or musl on GNU/Linux. Based on patch by Sören Tempel. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/454176
2022-06-14syscall: gofmtIan Lance Taylor1-2/+2
Add blank lines after //sys comments where needed, and then run gofmt on the syscall package with the new formatter. This is the libgo version of CL 407136. Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/412074
2019-02-01libgo: add hurd build tagsIan Lance Taylor1-0/+1
Patch by Svante Signell. Reviewed-on: https://go-review.googlesource.com/c/160822 From-SVN: r268459
2016-08-06libgo: change build procedure to use build tagsIan Lance Taylor1-0/+2
Previously the libgo Makefile explicitly listed the set of files to compile for each package. For packages that use build tags, this required a lot of awkward automake conditionals in the Makefile. This CL changes the build to look at the build tags in the files. The new shell script libgo/match.sh does the matching. This required adjusting a lot of build tags, and removing some files that are never used. I verified that the exact same sets of files are compiled on amd64 GNU/Linux. I also tested the build on i386 Solaris. Writing match.sh revealed some bugs in the build tag handling that already exists, in a slightly different form, in the gotest shell script. This CL fixes those problems as well. The old code used automake conditionals to handle systems that were missing strerror_r and wait4. Rather than deal with those in Go, those functions are now implemented in runtime/go-nosys.c when necessary, so the Go code can simply assume that they exist. The os testsuite looked for dir_unix.go, which was never built for gccgo and has now been removed. I changed the testsuite to look for dir.go instead. Reviewed-on: https://go-review.googlesource.com/25546 From-SVN: r239189
2012-11-12syscall: Force first letter of error message to lower case.Ian Lance Taylor1-5/+10
From-SVN: r193449
2012-11-02syscall, mksysinfo: Prepare syscall package for 64-bit int.Ian Lance Taylor1-1/+1
From-SVN: r193112
2011-12-12libgo: Update to weekly.2011-11-18.Ian Lance Taylor1-2/+2
From-SVN: r182266
2011-10-23Implement new syscall package.Ian Lance Taylor1-0/+27
Calls to library functions now use entersyscall and exitsyscall as appropriate. This is a first step toward multiplexing goroutines onto threads. From-SVN: r180345