@@ -118,10 +118,10 @@ <h3 id="compiler">Compiler Toolchain</h3>
118
118
</ p >
119
119
120
120
< p >
121
- The compiler, linker, and < code > go</ code > command have new flag < code > -msan</ code > ,
121
+ The compiler, linker, and < code > go</ code > command have a new flag < code > -msan</ code > ,
122
122
analogous to < code > -race</ code > and only available on linux/amd64,
123
123
that enables interoperation with the < a href ="http://clang.llvm.org/docs/MemorySanitizer.html "> Clang MemorySanitizer</ a > .
124
- Such interoperation useful mainly for testing a program containing suspect C or C++ code.
124
+ Such interoperation is useful mainly for testing a program containing suspect C or C++ code.
125
125
</ p >
126
126
127
127
< p >
@@ -588,7 +588,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
588
588
The < a href ="/pkg/encoding/base64 "> < code > encoding/base64</ code > </ a > package's
589
589
< a href ="/pkg/encoding/base64/#Decoder "> < code > Decoder</ code > </ a > has been fixed
590
590
to process the final bytes of its input. Previously it processed as many four-byte tokens as
591
- possible but ignore the remainder, up to three bytes.
591
+ possible but ignored the remainder, up to three bytes.
592
592
The < code > Decoder</ code > therefore now handles inputs in unpadded encodings (like
593
593
< a href ="/pkg/encoding/base64/#RawURLEncoding "> RawURLEncoding</ a > ) correctly,
594
594
but it also rejects inputs in padded encodings that are truncated or end with invalid bytes,
@@ -631,13 +631,13 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
631
631
Also in the < a href ="/pkg/fmt/ "> < code > fmt</ code > </ a > package,
632
632
< a href ="/pkg/fmt/#Scanf "> < code > Scanf</ code > </ a > can now scan hexadecimal strings using %X, as an alias for %x.
633
633
Both formats accept any mix of upper- and lower-case hexadecimal.
634
- < a href ="golang.org/x /13585 "> TODO: Keep?</ a >
634
+ < a href ="https:// golang.org/issues /13585 "> TODO: Keep?</ a >
635
635
</ li >
636
636
637
637
< li >
638
638
The < a href ="/pkg/image/ "> < code > image</ code > </ a >
639
639
and
640
- The < a href ="/pkg/image/color/ "> < code > image/color</ code > </ a > packages
640
+ < a href ="/pkg/image/color/ "> < code > image/color</ code > </ a > packages
641
641
add
642
642
< a href ="/pkg/image/#NYCbCrA "> < code > NYCbCrA</ code > </ a >
643
643
and
@@ -731,10 +731,11 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
731
731
< code > Expect:</ code > < code > 100-continue</ code > header (see
732
732
< a href ="/pkg/http/#Transport "> < code > Transport.ExpectContinueTimeout</ code > </ a > ).
733
733
Third, there are
734
- < a href ="/pkg/net/http/#pkg-constants "> four new error codes</ a > from RFC 6585:
734
+ < a href ="/pkg/net/http/#pkg-constants "> five new error codes</ a > from RFC 6585:
735
735
< code > StatusPreconditionRequired</ code > (428),
736
736
< code > StatusTooManyRequests</ code > (429),
737
737
< code > StatusRequestHeaderFieldsTooLarge</ code > (431),
738
+ < code > StatusUnavailableForLegalReasons</ code > (451)),
738
739
and
739
740
< code > StatusNetworkAuthenticationRequired</ code > (511).
740
741
Fourth, the implementation and documentation of
@@ -825,7 +826,7 @@ <h3 id="minor_library_changes">Minor changes to the library</h3>
825
826
< a href ="/pkg/os/exec/#Cmd.Output "> < code > Output</ code > </ a > method continues to return an
826
827
< a href ="/pkg/os/exec/#ExitError "> < code > ExitError</ code > </ a > when a command exits with an unsuccessful status.
827
828
If standard error would otherwise have been discarded,
828
- the returned < code > ExitError</ code > now holds a prefix
829
+ the returned < code > ExitError</ code > now holds a prefix and suffix
829
830
(currently 32 kB) of the failed command's standard error output,
830
831
for debugging or for inclusion in error messages.
831
832
The < code > ExitError</ code > 's
0 commit comments