os: use opendir64 and closedir64 on AIX
authorIan Lance Taylor <ian@gcc.gnu.org>
Fri, 12 May 2017 00:59:15 +0000 (00:59 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Fri, 12 May 2017 00:59:15 +0000 (00:59 +0000)
commitb3a7fdc3eadb551659dedf47c2a6faf0d569a278
tree002ab5a68d9c1394e2acc105df1a0bb41a87ba50
parent2d82ec25dc0f1fd9e1d5b013db48802a150dec7c
os: use opendir64 and closedir64 on AIX

    When using readdir64 on AIX, we must also use
    opendir64 and closedir64.

    Issue golang/go#19200

    Reviewed-on: https://go-review.googlesource.com/43251

From-SVN: r247947
gcc/go/gofrontend/MERGE
libgo/go/os/dir_gccgo.go
libgo/go/os/dir_libc64_gccgo.go [new file with mode: 0644]
libgo/go/os/dir_libc_gccgo.go [new file with mode: 0644]