aboutsummaryrefslogtreecommitdiff
path: root/src/database/sql
diff options
context:
space:
mode:
authorJoe Tsai <joetsai@digital-static.net>2015-09-16 00:58:56 -0700
committerBrad Fitzpatrick <bradfitz@golang.org>2015-12-02 02:27:27 +0000
commitb8a12928a65a15ecce5c9332da9feef0cb221389 (patch)
treea831d1479e1e678d5d7c6e3b9271b13ce8cee383 /src/database/sql
parent9bad99574ad90f877ee4d8aa36ca503f4167fab6 (diff)
downloadgo-b8a12928a65a15ecce5c9332da9feef0cb221389.tar.xz
archive/tar: convert Reader.Next to be loop based
Motivation for change: * Recursive logic is hard to follow, since it tends to apply things in reverse. On the other hand, the tar formats tend to describe meta headers as affecting the next entry. * Recursion also applies changes in the wrong order. Two test files are attached that use multiple headers. The previous Go behavior differs from what GNU and BSD tar do. Change-Id: Ic1557256fc1363c5cb26570e5d0b9f65a9e57341 Reviewed-on: https://go-review.googlesource.com/14624 Run-TryBot: Joe Tsai <joetsai@digital-static.net> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Diffstat (limited to 'src/database/sql')
0 files changed, 0 insertions, 0 deletions