diff options
| author | Clément Chigot <chigot.c@gmail.com> | 2020-09-14 13:06:40 +0200 |
|---|---|---|
| committer | Ian Lance Taylor <iant@golang.org> | 2020-09-14 17:07:47 +0000 |
| commit | 86dbeefe1f2770daad3c8d8b46a8b7f21b2c69e1 (patch) | |
| tree | caffb64077b93f080047faaf5cfd65bdb9108c95 /src/encoding | |
| parent | 4f5cd0c0331943c7ec72df3b827d972584f77833 (diff) | |
| download | go-86dbeefe1f2770daad3c8d8b46a8b7f21b2c69e1.tar.xz | |
syscall: fix fsync for read-only files on aix
AIX fsync syscall doesn't work on read-only files. Using fsync_range
instead allows syscall.Fsync to work on any files.
Fixes #41372
Change-Id: I66d33e847875496af53da60828c1bddf6c2b76b7
Reviewed-on: https://go-review.googlesource.com/c/go/+/254657
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Go Bot <gobot@golang.org>
Reviewed-by: Tobias Klauser <tobias.klauser@gmail.com>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/encoding')
0 files changed, 0 insertions, 0 deletions
