]> Cypherpunks repositories - gostls13.git/commit
archive/tar: change error prefix
authorJoe Tsai <joetsai@digital-static.net>
Wed, 15 Nov 2017 18:49:35 +0000 (10:49 -0800)
committerJoe Tsai <thebrokentoaster@gmail.com>
Wed, 15 Nov 2017 18:56:32 +0000 (18:56 +0000)
commitd9fb9e7cf5ee0e0e31007a8544a2730e20535494
treec27ea02f3c43a693664c1d77ae53f22abc7e2ffe
parenta265f2e90eb928ab773ecabf48aefb11b188296d
archive/tar: change error prefix

Change error message prefix from "tar:" to "archive/tar:" to maintain
backwards compatibility with Go1.9 and earlier in the unfortunate event
that someone is relying on string parsing of errors.

Fixes #22740

Change-Id: I59039c59818a0599e9d3b06bb5a531aa22a389b8
Reviewed-on: https://go-review.googlesource.com/77933
Reviewed-by: roger peppe <rogpeppe@gmail.com>
src/archive/tar/common.go
src/archive/tar/writer.go