]> Cypherpunks repositories - gostls13.git/commit
syscall: fix definition of _AT_FDCWD on dragonfly
authorTobias Klauser <tklauser@distanz.ch>
Tue, 15 Aug 2017 08:27:42 +0000 (10:27 +0200)
committerIan Lance Taylor <iant@golang.org>
Tue, 15 Aug 2017 14:31:48 +0000 (14:31 +0000)
commit2351bbfd3b11122936fc5858be826d1da413bab3
tree6cce5980b5687c28efbe3f9fe078c9084e827c46
parent6e8b10397b824b0064ff92977bd379b332a24da4
syscall: fix definition of _AT_FDCWD on dragonfly

CL golang.org/cl/55130 messed up the definition of _AT_FDCWD on
dragonfly.

This fixes the following test failure on dragonfly/amd64:

  --- FAIL: TestPackageMainTestImportsArchiveNotBinary (0.00s)
     go_test.go:192: chtimes ./testdata/src/main_test/m.go: bad file descriptor

Change-Id: I4c96983769e6b02d714859dc838875c3c0f1be50
Reviewed-on: https://go-review.googlesource.com/55690
Run-TryBot: Ian Lance Taylor <iant@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
src/syscall/ztypes_dragonfly_amd64.go