From 7d8c8c07aa925a4eb38c3a831dfc4ceeeb40aebf Mon Sep 17 00:00:00 2001
From: Dominik Honnef
-The compiler, linker, and go
command have new flag -msan
,
+The compiler, linker, and go
command have a new flag -msan
,
analogous to -race
and only available on linux/amd64,
that enables interoperation with the Clang MemorySanitizer.
-Such interoperation useful mainly for testing a program containing suspect C or C++ code.
+Such interoperation is useful mainly for testing a program containing suspect C or C++ code.
@@ -588,7 +588,7 @@ Also in the encoding/asn1
package
The encoding/base64
package's
Decoder
has been fixed
to process the final bytes of its input. Previously it processed as many four-byte tokens as
-possible but ignore the remainder, up to three bytes.
+possible but ignored the remainder, up to three bytes.
The Decoder
therefore now handles inputs in unpadded encodings (like
RawURLEncoding) correctly,
but it also rejects inputs in padded encodings that are truncated or end with invalid bytes,
@@ -631,13 +631,13 @@ In previous releases, the argument to *
was required to have type <
Also in the fmt
package,
Scanf
can now scan hexadecimal strings using %X, as an alias for %x.
Both formats accept any mix of upper- and lower-case hexadecimal.
-TODO: Keep?
+TODO: Keep?
image
and
-The image/color
packages
+image/color
packages
add
NYCbCrA
and
@@ -731,10 +731,11 @@ Second, the
Expect:
100-continue
header (see
Transport.ExpectContinueTimeout
).
Third, there are
-four new error codes from RFC 6585:
+five new error codes from RFC 6585:
StatusPreconditionRequired
(428),
StatusTooManyRequests
(429),
StatusRequestHeaderFieldsTooLarge
(431),
+StatusUnavailableForLegalReasons
(451)),
and
StatusNetworkAuthenticationRequired
(511).
Fourth, the implementation and documentation of
@@ -825,7 +826,7 @@ In the os/exec
package,
Output
method continues to return an
ExitError
when a command exits with an unsuccessful status.
If standard error would otherwise have been discarded,
-the returned ExitError
now holds a prefix
+the returned ExitError
now holds a prefix and suffix
(currently 32 kB) of the failed command's standard error output,
for debugging or for inclusion in error messages.
The ExitError
's
--
2.48.1