]> Cypherpunks repositories - gostls13.git/commit
syscall: correct comment in testGetdirentries
authorCuong Manh Le <cuong.manhle.vn@gmail.com>
Thu, 24 Oct 2019 10:00:57 +0000 (17:00 +0700)
committerBrad Fitzpatrick <bradfitz@golang.org>
Thu, 24 Oct 2019 13:58:59 +0000 (13:58 +0000)
commit05ee5065d0fa9d8dbb043f2099e11e1809de1133
tree51d075e7ee50c4fbc11f90a309dc1ad8bd6514f4
parentbe64a19d99918c843f8555aad580221207ea35bc
syscall: correct comment in testGetdirentries

Correct comment about allocating big enough slice to copy result of
Getdirentries.

While at it, also convert from Dirent directly to slice of byte.

Updates #35092

Change-Id: I892de7953120622882e1561728e1e56b009a2351
Reviewed-on: https://go-review.googlesource.com/c/go/+/202880
Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
src/syscall/getdirentries_test.go