go/src
Joe Tsai 1106512db5 path/filepath: deprecate HasPrefix
Use the new "Deprecated:" syntax for all instances of HasPrefix.
This is a follow-up to http://golang.org/cl/28413 which only modified path_unix.go.

In this CL, we avoid mentioning that strings.HasPrefix should be used since
that function is still subtly wrong in security applications.

See http://golang.org/cl/5712045 for more information.

Fixes #18355

Change-Id: I0d0306152cd0b0ea5110774c2c78117515b9f5cd
Reviewed-on: https://go-review.googlesource.com/34554
Run-TryBot: Joe Tsai <thebrokentoaster@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
2016-12-16 22:30:12 +00:00
..
archive archive/zip: skip large concurrent tests in race mode 2016-11-21 20:51:42 +00:00
bufio
builtin
bytes
cmd runtime: cross-reference _func type better 2016-12-16 17:03:25 +00:00
compress
container
context all: make spelling consistent 2016-12-08 23:22:37 +00:00
crypto crypto/aes: correct 'noescape' typo in s390x 2016-12-14 16:10:22 +00:00
database/sql database/sql: do not store Tx options in Context 2016-12-14 18:13:13 +00:00
debug cmd/objdump: copy gosym.PCValue into internal package 2016-12-01 18:20:04 +00:00
encoding all: make spelling consistent 2016-12-08 23:22:37 +00:00
errors
expvar
flag
fmt fmt: undo clearflags in catchPanic after error message has been printed 2016-12-11 21:59:59 +00:00
go go/internal/gccgoimporter: accept missed portions of v2 format 2016-12-14 18:47:56 +00:00
hash
html html/template: lock in application/json as valid JS test 2016-12-04 03:59:31 +00:00
image
index/suffixarray
internal internal/pprof/profile: parse mutex profile including comments 2016-11-29 18:04:37 +00:00
io io: update documentation on LimitedReader 2016-12-09 23:19:06 +00:00
log all: don't call t.Fatal from a goroutine 2016-11-15 15:13:48 +00:00
math crypto/*: document use or non-use of constant-time algorithms 2016-12-07 16:34:50 +00:00
mime
net net: clarify IP.IsGlobalUnicast docs 2016-12-16 15:35:55 +00:00
os os: must fixup path when 248 bytes long 2016-12-13 03:21:00 +00:00
path path/filepath: deprecate HasPrefix 2016-12-16 22:30:12 +00:00
plugin cmd/go, plugin: disable plugins on darwin 2016-12-15 05:46:20 +00:00
reflect reflect: add example for StructOf 2016-12-06 20:18:12 +00:00
regexp
runtime runtime: cross-reference _func type better 2016-12-16 17:03:25 +00:00
sort sort: add Slice example 2016-12-01 05:43:05 +00:00
strconv
strings
sync runtime/internal/atomic: crash on unaligned 64-bit ops on 32-bit MIPS 2016-11-22 02:05:07 +00:00
syscall runtime, syscall: update openbsd for changes to syskill 2016-12-12 01:30:39 +00:00
testing Revert "testing: add T.Context method" 2016-12-09 04:04:11 +00:00
text text/template: handle option missingkey=error consistently 2016-11-18 15:56:02 +00:00
time time: parse WITA timezone correctly 2016-12-12 20:14:12 +00:00
unicode
unsafe
vendor/golang_org/x vendor/golang_org/x/crypto/chacha20poly1305: revendor to pick up fix for #18154 2016-12-02 06:00:05 +00:00
Make.dist
all.bash
all.bat
all.rc
androidtest.bash
bootstrap.bash
buildall.bash
clean.bash
clean.bat
clean.rc
cmp.bash
iostest.bash
make.bash
make.bat
make.rc build: fix cross-compile on Plan 9 2016-11-22 01:32:28 +00:00
naclmake.bash
nacltest.bash
race.bash
race.bat
run.bash
run.bat
run.rc