mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 13:03:39 +00:00
Run Nick G's spellchecker github.com/client9/misspell, carefuly fix what it found (#4235)
This commit is contained in:
@@ -344,7 +344,7 @@ func Fdclosedir(dir uintptr) (err error) {
|
||||
func Readdir(dir uintptr) (dirent *Dirent, err error) {
|
||||
// There might be a leftover errno value in the global variable, so we have
|
||||
// to clear it before calling readdir because we cannot know whether a nil
|
||||
// return means that we reached EOF or that an error occured.
|
||||
// return means that we reached EOF or that an error occurred.
|
||||
libcErrno = 0
|
||||
|
||||
dirent = libc_readdir(unsafe.Pointer(dir))
|
||||
|
||||
Reference in New Issue
Block a user