commit | 451667a67f5b7765bb4d1d5e94e12ea1b18cfe23 | [log] [tgz] |
---|---|---|
author | Rob Pike <r@golang.org> | Fri Jan 17 13:19:00 2014 -0800 |
committer | Rob Pike <r@golang.org> | Fri Jan 17 13:19:00 2014 -0800 |
tree | 9dcc45328e79e7fa0503c62ff05d05ddf0c731a7 | |
parent | 1e67453d93c317d5a30780cc54a53c9d19373fdf [diff] |
syscall: allocate 64 bits of "basep" for Getdirentries Recent crashes on 386 Darwin appear to be caused by this system call smashing the stack. Phenomenology shows that allocating more data here addresses the probem. The guess is that since the actual system call is getdirentries64, 64 is what we should allocate. Should fix the darwin/386 build. R=rsc CC=golang-codereviews https://golang.org/cl/53840043