]> Cypherpunks.ru repositories - gostls13.git/commit
misc/cgo: replace os.SEEK_SET with io.SeekStart
authorhopehook <hopehook.com@gmail.com>
Fri, 16 Sep 2022 00:13:23 +0000 (08:13 +0800)
committerGopher Robot <gobot@golang.org>
Mon, 19 Sep 2022 16:55:26 +0000 (16:55 +0000)
commit351037d16c16602388709b846420094eabb5ce16
tree22bb9e92e61d926b4ec8b5470fed2b65bc695659
parentf4becf15bdbcb098ec6cfb5373ad113b3d991d43
misc/cgo: replace os.SEEK_SET with io.SeekStart

Since os.SEEK_SET was deprecated, use io.SeekStart instead.

Change-Id: I11ae496b071ab35412403ff73e52f3da73d5b120
Reviewed-on: https://go-review.googlesource.com/c/go/+/431096
Run-TryBot: Ian Lance Taylor <iant@google.com>
Run-TryBot: hopehook <hopehook@golangcn.org>
Reviewed-by: Cherry Mui <cherryyz@google.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Auto-Submit: Ian Lance Taylor <iant@google.com>
misc/cgo/testcarchive/carchive_test.go