make spellfix: fix top level files, too.

Do manual fix in GNUmakefile, since spellchecking that is just too meta.
This commit is contained in:
Dan Kegel
2024-08-14 14:36:16 -07:00
committed by Ron Evans
parent 5d82a7eee6
commit d3e67cf18c
3 changed files with 7 additions and 6 deletions
+4 -4
View File
@@ -358,11 +358,11 @@ endif
# compress/flate appears to hang on wasi # compress/flate appears to hang on wasi
# crypto/hmac fails on wasi, it exits with a "slice out of range" panic # crypto/hmac fails on wasi, it exits with a "slice out of range" panic
# debug/plan9obj requires os.ReadAt, which is not yet supported on windows # debug/plan9obj requires os.ReadAt, which is not yet supported on windows
# image requires recover(), which is not yet supported on wasi # image requires recover(), which is not yet supported on wasi
# io/ioutil requires os.ReadDir, which is not yet supported on windows or wasi # io/ioutil requires os.ReadDir, which is not yet supported on windows or wasi
# mime/quotedprintable requires syscall.Faccessat # mime/quotedprintable requires syscall.Faccessat
# strconv requires recover() which is not yet supported on wasi # strconv requires recover() which is not yet supported on wasi
# text/tabwriter requries recover(), which is not yet supported on wasi # text/tabwriter requires recover(), which is not yet supported on wasi
# text/template/parse requires recover(), which is not yet supported on wasi # text/template/parse requires recover(), which is not yet supported on wasi
# testing/fstest requires os.ReadDir, which is not yet supported on windows or wasi # testing/fstest requires os.ReadDir, which is not yet supported on windows or wasi
@@ -963,11 +963,11 @@ lint: tools ## Lint source tree
SPELLDIRSCMD=find . -depth 1 -type d | egrep -wv '.git|lib|llvm|src'; find src -depth 1 | egrep -wv 'device|internal|net|vendor'; find src/internal -depth 1 -type d | egrep -wv src/internal/wasi SPELLDIRSCMD=find . -depth 1 -type d | egrep -wv '.git|lib|llvm|src'; find src -depth 1 | egrep -wv 'device|internal|net|vendor'; find src/internal -depth 1 -type d | egrep -wv src/internal/wasi
.PHONY: spell .PHONY: spell
spell: tools ## Spellcheck source tree spell: tools ## Spellcheck source tree
misspell -error --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.md misspell -error --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.go *.md
.PHONY: spellfix .PHONY: spellfix
spellfix: tools ## Same as spell, but fixes what it finds spellfix: tools ## Same as spell, but fixes what it finds
misspell -w --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.md misspell -w --dict misspell.csv -i 'ackward,devided,extint,rela' $$( $(SPELLDIRSCMD) ) *.go *.md
# https://www.client9.com/self-documenting-makefiles/ # https://www.client9.com/self-documenting-makefiles/
.PHONY: help .PHONY: help
+2 -2
View File
@@ -808,7 +808,7 @@ func Run(pkgName string, options *compileopts.Options, cmdArgs []string) error {
// buildAndRun builds and runs the given program, writing output to stdout and // buildAndRun builds and runs the given program, writing output to stdout and
// errors to os.Stderr. It takes care of emulators (qemu, wasmtime, etc) and // errors to os.Stderr. It takes care of emulators (qemu, wasmtime, etc) and
// passes command line arguments and evironment variables in a way appropriate // passes command line arguments and environment variables in a way appropriate
// for the given emulator. // for the given emulator.
func buildAndRun(pkgName string, config *compileopts.Config, stdout io.Writer, cmdArgs, environmentVars []string, timeout time.Duration, run func(cmd *exec.Cmd, result builder.BuildResult) error) (builder.BuildResult, error) { func buildAndRun(pkgName string, config *compileopts.Config, stdout io.Writer, cmdArgs, environmentVars []string, timeout time.Duration, run func(cmd *exec.Cmd, result builder.BuildResult) error) (builder.BuildResult, error) {
@@ -1631,7 +1631,7 @@ func main() {
for i := range bufs { for i := range bufs {
err := bufs[i].flush(os.Stdout, os.Stderr) err := bufs[i].flush(os.Stdout, os.Stderr)
if err != nil { if err != nil {
// There was an error writing to stdout or stderr, so we probbably cannot print this. // There was an error writing to stdout or stderr, so we probably cannot print this.
select { select {
case fail <- struct{}{}: case fail <- struct{}{}:
default: default:
+1
View File
@@ -28,6 +28,7 @@ orignal,original
overrided,overridden overrided,overridden
poiners,pointers poiners,pointers
poitner,pointer poitner,pointer
probbably,probably
recogized,recognized recogized,recognized
refection,reflection refection,reflection
requries,requires requries,requires
1 acces access
28 overrided overridden
29 poiners pointers
30 poitner pointer
31 probbably probably
32 recogized recognized
33 refection reflection
34 requries requires