os: use opendir64 and closedir64 on AIX
commit939aa06fb0f3db908e2683b6fd4a99a0b9346c9e
authorian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 May 2017 00:59:15 +0000 (12 00:59 +0000)
committerian <ian@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 12 May 2017 00:59:15 +0000 (12 00:59 +0000)
tree002ab5a68d9c1394e2acc105df1a0bb41a87ba50
parent2d5afa6108df1ea80bb3806cc15c9375d14f4f5b
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

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@247947 138bc75d-0d04-0410-961f-82ee72b054a4
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]