]> Cypherpunks repositories - gostls13.git/commit
os: make Readdir work as documented
authorPieter Droogendijk <pieter@binky.org.uk>
Thu, 8 Aug 2013 17:44:01 +0000 (10:44 -0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 8 Aug 2013 17:44:01 +0000 (10:44 -0700)
commitbdbd5418f4c2dc87fa18e6b39e4ead21c6d87bbe
treeeb9ba77cddab3bbf2ce719619e88fffe10b4c3e6
parent547f1a6fe7915193d6c28dac21648f08e2f67bd9
os: make Readdir work as documented

Readdir's result should never contain a nil.

Fixes #5960.

R=golang-dev, rsc, bradfitz
CC=golang-dev
https://golang.org/cl/12261043
src/pkg/os/export_test.go
src/pkg/os/file_unix.go
src/pkg/os/os_unix_test.go