commit | 4e57a7973e9fa4cb5ab977c6d792e62a8f7c5795 | [log] [tgz] |
---|---|---|
author | Matthieu Sarter <matthieu.sarter.external@atos.net> | Wed Mar 22 11:11:30 2017 +0100 |
committer | Ian Lance Taylor <iant@golang.org> | Thu Mar 23 14:04:42 2017 +0000 |
tree | e7f814e8fa7bc8a688a77461d439b600d9817eb1 | |
parent | d97c752922d92e8b71860c2e4332dbdf81802240 [diff] |
os: fix readdirnames for AIX Largefile implementation should be used on AIX. readdir64_r function returns 9 and sets result to NULL when reaching end of directory, so this return code should not always be considered as an error. Issue golang/go#19200 Change-Id: I86e6944d1a9b6c80ea166cfa142a92d911e4be8f Reviewed-on: https://go-review.googlesource.com/38359 Reviewed-by: Ian Lance Taylor <iant@golang.org>