1
0
mirror of https://github.com/golang/go synced 2024-10-05 02:21:22 -06:00
go/src/pkg
Akshat Kumar a566deace1 syscall: Plan 9: use lightweight errstr in entersyscall mode
Change 231af8ac63aa (CL 7314062) made runtime.enteryscall()
set m->mcache = nil, which means that we can no longer use
syscall.errstr in syscall.Syscall and syscall.Syscall6, since it
requires a new buffer to be allocated for holding the error string.
Instead, we use pre-allocated per-M storage to hold error strings
from syscalls made while in entersyscall mode, and call
runtime.findnull to calculate the lengths.

Fixes #4994.

R=rsc, rminnich, ality, dvyukov, rminnich, r
CC=golang-dev
https://golang.org/cl/7567043
2013-03-08 00:54:44 +01:00
..
archive archive/tar: remove execute bit from common.go 2013-03-03 08:56:08 +11:00
bufio bufio: add examples for Scanner 2013-02-21 15:55:40 -08:00
builtin builtin: document appending a string to a byte slice 2013-02-27 16:11:17 -08:00
bytes bytes: annotate assembly functions with //go:noescape 2013-02-10 00:08:30 +08:00
compress all: use t.Skip{,f} 2013-01-24 17:32:10 +11:00
container container/heap: fix int overflow bug 2013-03-04 10:25:21 -05:00
crypto crypto/rsa: fix infinite loop in GenerateMultiPrimeKey for large nprimes 2013-02-24 17:19:09 +01:00
database/sql database/sql: check for nil Scan pointers 2013-02-21 10:43:00 -08:00
debug cmd/ld, runtime: adjust symbol table representation 2013-02-26 22:38:14 -05:00
encoding all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
errors
expvar all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
flag all: make tests able to run multiple times. 2013-01-27 00:24:09 +01:00
fmt all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
go go/types: more internal cleanups 2013-03-07 11:17:30 -08:00
hash build: make int 64 bits on amd64 2012-09-24 20:57:01 -04:00
html html/template: fix doc typo 2013-03-01 14:57:59 +11:00
image image/jpeg: for progressive JPEGs, the first SOS segment doesn't 2013-03-06 10:08:46 +11:00
index/suffixarray
io src: use internal tests if possible 2013-02-19 10:02:01 -05:00
log log/syslog: fix race in test between channel close and accept. 2013-02-28 07:48:16 +01:00
math all: fix a few more printf arg bugs found by go vet 2013-02-28 11:33:08 -08:00
mime mime/multipart: allow unescaped newlines through in quoted-printable 2013-02-22 10:40:23 -08:00
net net: fix multicast listener tests 2013-03-08 06:51:06 +09:00
os os: Plan 9: allocate space for a string in Rename 2013-02-28 14:20:42 -08:00
path all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
reflect all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
regexp regexp: use Scanner in exec_test 2013-02-20 13:37:45 -08:00
runtime syscall: Plan 9: use lightweight errstr in entersyscall mode 2013-03-08 00:54:44 +01:00
sort all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
strconv all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
strings strings: remove allocations in Split(s, "") 2013-03-06 15:21:19 -05:00
sync cmd/vet: fix printf test for unsafe Pointer 2013-02-26 10:36:13 -08:00
syscall syscall: Plan 9: use lightweight errstr in entersyscall mode 2013-03-08 00:54:44 +01:00
testing testing: move Skip into *common 2013-02-23 11:57:51 +11:00
text text/template: improve error reporting for executing an empty template 2013-03-06 12:34:19 -08:00
time all: Skip AllocsPerRun tests if GOMAXPROCS>1. 2013-03-06 15:52:32 -08:00
unicode unicode: use new Scanner interface in table creation 2013-02-21 10:47:31 -08:00
unsafe unsafe: fix a typo 2012-10-19 16:35:15 +11:00