From 3a8e01a77a7c97af0b16fb1651b230cee7f7d4c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C5=8Dshin?= Date: Sat, 16 Dec 2023 23:07:10 -0500 Subject: [PATCH] more modeline errata (#1019) Somehow or another, I previously had missed `BUILD.mk` files. In the process I found a few straggler cases where the modeline was different from the file, including one very involved manual fix where a file had been treated like it was ts=2 and ts=8 on separate occasions. The commit history in the PR shows the gory details; the BUILD.mk was automated, everything else was mostly manual. --- ape/BUILD.mk | 2 +- ape/aarch64.lds | 2 +- ape/ape.lds | 2 +- ape/loader.lds | 2 +- dsp/BUILD.mk | 2 +- dsp/core/BUILD.mk | 2 +- dsp/mpeg/BUILD.mk | 2 +- dsp/mpeg/idct.c | 2 +- dsp/mpeg/macroblock.c | 2 +- dsp/mpeg/mpeg1.c | 2 +- dsp/mpeg/slowrgb.c | 2 +- dsp/scale/BUILD.mk | 2 +- dsp/tty/BUILD.mk | 2 +- examples/BUILD.mk | 2 +- examples/package/BUILD.mk | 2 +- examples/package/lib/BUILD.mk | 2 +- examples/pyapp/BUILD.mk | 2 +- examples/pylife/BUILD.mk | 2 +- examples/unbourne.c | 40 +- libc/BUILD.mk | 2 +- libc/calls/BUILD.mk | 2 +- libc/calls/gettimeofday.c | 4 +- libc/crt/BUILD.mk | 2 +- libc/dlopen/BUILD.mk | 2 +- libc/dns/BUILD.mk | 2 +- libc/elf/BUILD.mk | 2 +- libc/fmt/BUILD.mk | 2 +- libc/intrin/BUILD.mk | 2 +- libc/intrin/kpollnames.S | 2 +- libc/intrin/kstarttsc.c | 4 +- libc/irq/BUILD.mk | 2 +- libc/log/BUILD.mk | 2 +- libc/mem/BUILD.mk | 2 +- libc/mem/qsort.c | 4 +- libc/nexgen32e/BUILD.mk | 2 +- libc/nexgen32e/blink_linux_aarch64.S | 2 +- libc/nexgen32e/blink_xnu_aarch64.S | 2 +- libc/nt/BUILD.mk | 2 +- libc/nt/codegen.sh | 14 +- libc/nt/master.sh | 2 +- libc/proc/BUILD.mk | 2 +- libc/runtime/BUILD.mk | 2 +- libc/sock/BUILD.mk | 2 +- libc/stdio/BUILD.mk | 2 +- libc/stdio/clearerr.c | 2 +- libc/stdio/clearerr_unlocked.c | 2 +- libc/stdio/feof.c | 2 +- libc/stdio/feof_unlocked.c | 2 +- libc/stdio/iconv.c | 2 +- libc/str/BUILD.mk | 2 +- libc/sysv/BUILD.mk | 2 +- libc/sysv/consts.sh | 2 +- libc/sysv/dos2errno.sh | 2 +- libc/sysv/errno.c | 6 +- libc/sysv/gen.sh | 2 +- libc/sysv/syscalls.sh | 2 +- libc/testlib/BUILD.mk | 2 +- libc/thread/BUILD.mk | 2 +- libc/time/BUILD.mk | 2 +- libc/time/localtime.c | 8 +- libc/time/strptime.c | 2 +- libc/tinymath/BUILD.mk | 2 +- libc/tinymath/atan2f.c | 76 +-- libc/tinymath/atan_data.c | 18 +- libc/tinymath/atanf_data.c | 4 +- libc/tinymath/exp2f_data.c | 2 +- libc/tinymath/expl.c | 2 +- libc/tinymath/expm1f.c | 10 +- libc/tinymath/ktan.c | 26 +- libc/tinymath/log1pf.c | 50 +- libc/tinymath/log1pf_data.c | 4 +- libc/tinymath/powl.c | 704 ++++++++++---------- libc/tinymath/remainderf.c | 66 +- libc/tinymath/sincosf.c | 24 +- libc/tinymath/sincosf_data.c | 2 +- libc/vga/BUILD.mk | 2 +- libc/x/BUILD.mk | 2 +- net/BUILD.mk | 2 +- net/finger/BUILD.mk | 2 +- net/http/BUILD.mk | 2 +- net/http/kescapeauthority.c | 40 +- net/http/kescapefragment.c | 40 +- net/http/kescapeip.c | 40 +- net/http/kescapeparam.c | 40 +- net/http/kescapepath.c | 40 +- net/http/kescapesegment.c | 40 +- net/http/khostchars.c | 40 +- net/http/khttptoken.c | 62 +- net/https/BUILD.mk | 2 +- net/turfwar/BUILD.mk | 2 +- test/BUILD.mk | 2 +- test/dsp/BUILD.mk | 2 +- test/dsp/core/BUILD.mk | 2 +- test/dsp/scale/BUILD.mk | 2 +- test/dsp/tty/BUILD.mk | 2 +- test/libc/BUILD.mk | 2 +- test/libc/calls/BUILD.mk | 2 +- test/libc/dns/BUILD.mk | 2 +- test/libc/fmt/BUILD.mk | 2 +- test/libc/intrin/BUILD.mk | 2 +- test/libc/log/BUILD.mk | 2 +- test/libc/mem/BUILD.mk | 2 +- test/libc/nexgen32e/BUILD.mk | 2 +- test/libc/proc/BUILD.mk | 2 +- test/libc/release/BUILD.mk | 2 +- test/libc/runtime/BUILD.mk | 2 +- test/libc/runtime/mprotect_test.c | 2 +- test/libc/sock/BUILD.mk | 2 +- test/libc/stdio/BUILD.mk | 2 +- test/libc/str/BUILD.mk | 2 +- test/libc/thread/BUILD.mk | 2 +- test/libc/time/BUILD.mk | 2 +- test/libc/tinymath/BUILD.mk | 2 +- test/libc/x/BUILD.mk | 2 +- test/libc/xed/BUILD.mk | 2 +- test/net/BUILD.mk | 2 +- test/net/finger/BUILD.mk | 2 +- test/net/http/BUILD.mk | 2 +- test/net/https/BUILD.mk | 2 +- test/posix/BUILD.mk | 2 +- test/tool/BUILD.mk | 2 +- test/tool/args/BUILD.mk | 2 +- test/tool/build/BUILD.mk | 2 +- test/tool/build/lib/BUILD.mk | 2 +- test/tool/build/lib/asmdown_test.c | 2 +- test/tool/net/BUILD.mk | 2 +- test/tool/plinko/BUILD.mk | 2 +- test/tool/viz/BUILD.mk | 2 +- test/tool/viz/lib/BUILD.mk | 2 +- third_party/BUILD.mk | 2 +- third_party/aarch64/BUILD.mk | 2 +- third_party/argon2/BUILD.mk | 2 +- third_party/awk/BUILD.mk | 2 +- third_party/bash/BUILD.mk | 2 +- third_party/bzip2/BUILD.mk | 2 +- third_party/chibicc/BUILD.mk | 2 +- third_party/chibicc/test/BUILD.mk | 2 +- third_party/compiler_rt/BUILD.mk | 2 +- third_party/ctags/BUILD.mk | 2 +- third_party/dlmalloc/BUILD.mk | 2 +- third_party/double-conversion/BUILD.mk | 2 +- third_party/double-conversion/test/BUILD.mk | 2 +- third_party/finger/BUILD.mk | 2 +- third_party/gdtoa/BUILD.mk | 2 +- third_party/getopt/BUILD.mk | 2 +- third_party/hiredis/BUILD.mk | 2 +- third_party/intel/BUILD.mk | 2 +- third_party/less/BUILD.mk | 2 +- third_party/libcxx/BUILD.mk | 2 +- third_party/linenoise/BUILD.mk | 2 +- third_party/lua/BUILD.mk | 2 +- third_party/lz4cli/BUILD.mk | 2 +- third_party/make/BUILD.mk | 2 +- third_party/maxmind/BUILD.mk | 2 +- third_party/mbedtls/BUILD.mk | 2 +- third_party/mbedtls/test/BUILD.mk | 2 +- third_party/musl/BUILD.mk | 2 +- third_party/musl/fnmatch.c | 2 +- third_party/musl/glob.c | 2 +- third_party/musl/grp.c | 2 +- third_party/ncurses/BUILD.mk | 2 +- third_party/nsync/BUILD.mk | 2 +- third_party/nsync/mem/BUILD.mk | 2 +- third_party/nsync/testing/BUILD.mk | 2 +- third_party/pcre/BUILD.mk | 2 +- third_party/puff/BUILD.mk | 2 +- third_party/python/BUILD.mk | 2 +- third_party/qemu/BUILD.mk | 2 +- third_party/quickjs/BUILD.mk | 2 +- third_party/readline/BUILD.mk | 2 +- third_party/regex/BUILD.mk | 2 +- third_party/sed/BUILD.mk | 2 +- third_party/smallz4/BUILD.mk | 2 +- third_party/sqlite3/BUILD.mk | 2 +- third_party/stb/BUILD.mk | 2 +- third_party/tidy/BUILD.mk | 2 +- third_party/tr/BUILD.mk | 2 +- third_party/tree/BUILD.mk | 2 +- third_party/unzip/BUILD.mk | 2 +- third_party/vqsort/BUILD.mk | 2 +- third_party/xed/BUILD.mk | 2 +- third_party/xxhash/BUILD.mk | 2 +- third_party/zip/BUILD.mk | 2 +- third_party/zlib/BUILD.mk | 2 +- third_party/zlib/gz/BUILD.mk | 2 +- third_party/zstd/BUILD.mk | 2 +- tool/BUILD.mk | 2 +- tool/args/BUILD.mk | 2 +- tool/build/BUILD.mk | 2 +- tool/build/lib/BUILD.mk | 2 +- tool/curl/BUILD.mk | 2 +- tool/decode/BUILD.mk | 2 +- tool/decode/lib/BUILD.mk | 2 +- tool/hello/BUILD.mk | 2 +- tool/lambda/BUILD.mk | 2 +- tool/lambda/lib/BUILD.mk | 2 +- tool/net/BUILD.mk | 2 +- tool/net/largon2.c | 2 +- tool/plinko/BUILD.mk | 2 +- tool/plinko/lib/BUILD.mk | 2 +- tool/viz/BUILD.mk | 2 +- tool/viz/lib/BUILD.mk | 2 +- 202 files changed, 879 insertions(+), 879 deletions(-) diff --git a/ape/BUILD.mk b/ape/BUILD.mk index 3a7007d12..8ef39de53 100644 --- a/ape/BUILD.mk +++ b/ape/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # OVERVIEW # diff --git a/ape/aarch64.lds b/ape/aarch64.lds index adf105572..9866ac748 100644 --- a/ape/aarch64.lds +++ b/ape/aarch64.lds @@ -1,5 +1,5 @@ /*-*- mode: ld-script; indent-tabs-mode: nil; tab-width: 2; coding: utf-8 -*-│ -│ vi: set noet sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set et sts=2 sw=2 fenc=utf-8 :vi │ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "libc/thread/tls.h" diff --git a/ape/ape.lds b/ape/ape.lds index 873c347a1..30b5b69ac 100644 --- a/ape/ape.lds +++ b/ape/ape.lds @@ -1,5 +1,5 @@ /*-*- mode: ld-script; indent-tabs-mode: nil; tab-width: 2; coding: utf-8 -*-│ -│ vi: set noet sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set et sts=2 sw=2 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ diff --git a/ape/loader.lds b/ape/loader.lds index 035840e31..a27d29a12 100644 --- a/ape/loader.lds +++ b/ape/loader.lds @@ -1,5 +1,5 @@ /*-*- mode: ld-script; indent-tabs-mode: nil; tab-width: 2; coding: utf-8 -*-│ -│ vi: set noet sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set et sts=2 sw=2 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2023 Justine Alexandra Roberts Tunney │ │ │ diff --git a/dsp/BUILD.mk b/dsp/BUILD.mk index e68830659..87e655809 100644 --- a/dsp/BUILD.mk +++ b/dsp/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/dsp o/$(MODE)/dsp: o/$(MODE)/dsp/core \ diff --git a/dsp/core/BUILD.mk b/dsp/core/BUILD.mk index 5afdb81b8..46e95ef71 100644 --- a/dsp/core/BUILD.mk +++ b/dsp/core/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += DSP_CORE diff --git a/dsp/mpeg/BUILD.mk b/dsp/mpeg/BUILD.mk index a14b58c1d..147bffc47 100644 --- a/dsp/mpeg/BUILD.mk +++ b/dsp/mpeg/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += DSP_MPEG diff --git a/dsp/mpeg/idct.c b/dsp/mpeg/idct.c index 06645d8e1..87c17ae6a 100644 --- a/dsp/mpeg/idct.c +++ b/dsp/mpeg/idct.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:4;tab-width:4;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=4 sw=4 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=4 sw=4 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ PL_MPEG - MPEG1 Video decoder, MP2 Audio decoder, MPEG-PS demuxer │ │ Dominic Szablewski - https://phoboslab.org │ diff --git a/dsp/mpeg/macroblock.c b/dsp/mpeg/macroblock.c index c94c3994b..10dee49ee 100644 --- a/dsp/mpeg/macroblock.c +++ b/dsp/mpeg/macroblock.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:4;tab-width:4;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=4 sw=4 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=4 sw=4 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ PL_MPEG - MPEG1 Video decoder, MP2 Audio decoder, MPEG-PS demuxer │ │ Dominic Szablewski - https://phoboslab.org │ diff --git a/dsp/mpeg/mpeg1.c b/dsp/mpeg/mpeg1.c index 873b5ab6d..f9c29910b 100644 --- a/dsp/mpeg/mpeg1.c +++ b/dsp/mpeg/mpeg1.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:4;tab-width:4;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=4 sw=4 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=4 sw=4 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ PL_MPEG - MPEG1 Video decoder, MP2 Audio decoder, MPEG-PS demuxer │ │ Dominic Szablewski - https://phoboslab.org │ diff --git a/dsp/mpeg/slowrgb.c b/dsp/mpeg/slowrgb.c index 73b1881cd..16c819c38 100644 --- a/dsp/mpeg/slowrgb.c +++ b/dsp/mpeg/slowrgb.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:4;tab-width:4;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=4 sw=4 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=4 sw=4 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ PL_MPEG - MPEG1 Video decoder, MP2 Audio decoder, MPEG-PS demuxer │ │ Dominic Szablewski - https://phoboslab.org │ diff --git a/dsp/scale/BUILD.mk b/dsp/scale/BUILD.mk index 5c2857b33..79c25a534 100644 --- a/dsp/scale/BUILD.mk +++ b/dsp/scale/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += DSP_SCALE diff --git a/dsp/tty/BUILD.mk b/dsp/tty/BUILD.mk index 5dcc06edd..c87dcb028 100644 --- a/dsp/tty/BUILD.mk +++ b/dsp/tty/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += DSP_TTY diff --git a/examples/BUILD.mk b/examples/BUILD.mk index 5161d42f9..8f372d849 100644 --- a/examples/BUILD.mk +++ b/examples/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += EXAMPLES diff --git a/examples/package/BUILD.mk b/examples/package/BUILD.mk index 1072eba69..959b68469 100644 --- a/examples/package/BUILD.mk +++ b/examples/package/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/examples/package/lib/BUILD.mk b/examples/package/lib/BUILD.mk index 7ff3c0323..3fdbe344d 100644 --- a/examples/package/lib/BUILD.mk +++ b/examples/package/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/examples/pyapp/BUILD.mk b/examples/pyapp/BUILD.mk index 776a4376b..2207b2945 100644 --- a/examples/pyapp/BUILD.mk +++ b/examples/pyapp/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/examples/pylife/BUILD.mk b/examples/pylife/BUILD.mk index ec32785bb..4152b7890 100644 --- a/examples/pylife/BUILD.mk +++ b/examples/pylife/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/examples/unbourne.c b/examples/unbourne.c index c06a28ddb..af21e1a9e 100644 --- a/examples/unbourne.c +++ b/examples/unbourne.c @@ -157,14 +157,14 @@ /* * The follow should be set to reflect the type of system you have: - * JOBS -> 1 if you have Berkeley job control, 0 otherwise. - * SHORTNAMES -> 1 if your linker cannot handle long names. - * define BSD if you are running 4.2 BSD or later. - * define SYSV if you are running under System V. - * define DEBUG=1 to compile in debugging ('set -o debug' to turn on) - * define DEBUG=2 to compile in and turn on debugging. - * define DO_SHAREDVFORK to indicate that vfork(2) shares its address - * with its parent. + * JOBS -> 1 if you have Berkeley job control, 0 otherwise. + * SHORTNAMES -> 1 if your linker cannot handle long names. + * define BSD if you are running 4.2 BSD or later. + * define SYSV if you are running under System V. + * define DEBUG=1 to compile in debugging ('set -o debug' to turn on) + * define DEBUG=2 to compile in and turn on debugging. + * define DO_SHAREDVFORK to indicate that vfork(2) shares its address + * with its parent. * * When debugging is on, debugging info will be written to ./trace and * a quit signal will generate a core dump. @@ -6604,10 +6604,10 @@ static struct job *growjobtab(void) { * own process group. Jp is a job structure that the job is to be added to. * N is the command that will be evaluated by the child. Both jp and n may * be NULL. The mode parameter can be one of the following: - * FORK_FG - Fork off a foreground process. - * FORK_BG - Fork off a background process. - * FORK_NOJOB - Like FORK_FG, but don't give the process its own - * process group even if job control is on. + * FORK_FG - Fork off a foreground process. + * FORK_BG - Fork off a background process. + * FORK_NOJOB - Like FORK_FG, but don't give the process its own + * process group even if job control is on. * * When job control is turned off, background processes have their standard * input redirected to /dev/null (except for the second and later processes @@ -8403,10 +8403,10 @@ static void nlnoprompt(void) { /* * Read the next input token. * If the token is a word, we set backquotelist to the list of cmds in - * backquotes. We set quoteflag to true if any part of the word was - * quoted. + * backquotes. We set quoteflag to true if any part of the word was + * quoted. * If the token is TREDIR, then we set redirnode to a structure containing - * the redirection. + * the redirection. * * [Change comment: here documents and internal procedures] * [Readtoken shouldn't have any arguments. Perhaps we should make the @@ -9767,7 +9767,7 @@ out: /* * Print SysV echo(1) style escape string - * Halts processing string if a \c escape is encountered. + * Halts processing string if a \c escape is encountered. */ static int conv_escape_str(char *str, char **sp) { int c; @@ -9941,10 +9941,10 @@ static int echocmd(int argc, char **argv) { */ /* test(1) accepts the following grammar: - oexpr ::= aexpr | aexpr "-o" oexpr ; - aexpr ::= nexpr | nexpr "-a" aexpr ; - nexpr ::= primary | "!" primary - primary ::= unary-operator operand + oexpr ::= aexpr | aexpr "-o" oexpr ; + aexpr ::= nexpr | nexpr "-a" aexpr ; + nexpr ::= primary | "!" primary + primary ::= unary-operator operand | operand binary-operator operand | operand | "(" oexpr ")" diff --git a/libc/BUILD.mk b/libc/BUILD.mk index 6d53e0946..2a60ab0bd 100644 --- a/libc/BUILD.mk +++ b/libc/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC diff --git a/libc/calls/BUILD.mk b/libc/calls/BUILD.mk index b9bcf7754..bbf134fc4 100644 --- a/libc/calls/BUILD.mk +++ b/libc/calls/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/libc/calls/gettimeofday.c b/libc/calls/gettimeofday.c index 13954afbe..34fc8547c 100644 --- a/libc/calls/gettimeofday.c +++ b/libc/calls/gettimeofday.c @@ -38,8 +38,8 @@ * @param tz is completely ignored * @return 0 on success, or -1 w/ errno * @raise EFAULT if `tv` points to invalid memory - * @see clock_gettime() for nanosecond precision - * @see strftime() for string formatting + * @see clock_gettime() for nanosecond precision + * @see strftime() for string formatting * @asyncsignalsafe * @vforksafe */ diff --git a/libc/crt/BUILD.mk b/libc/crt/BUILD.mk index 12f16211b..b1502e889 100644 --- a/libc/crt/BUILD.mk +++ b/libc/crt/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/libc/dlopen/BUILD.mk b/libc/dlopen/BUILD.mk index c37bdb720..5fb58254c 100644 --- a/libc/dlopen/BUILD.mk +++ b/libc/dlopen/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_DLOPEN diff --git a/libc/dns/BUILD.mk b/libc/dns/BUILD.mk index acacbc614..57fcdf6ba 100644 --- a/libc/dns/BUILD.mk +++ b/libc/dns/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_DNS diff --git a/libc/elf/BUILD.mk b/libc/elf/BUILD.mk index a06b8cf93..762ff5c1b 100644 --- a/libc/elf/BUILD.mk +++ b/libc/elf/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_ELF diff --git a/libc/fmt/BUILD.mk b/libc/fmt/BUILD.mk index f64dd2afa..4114c6ba7 100644 --- a/libc/fmt/BUILD.mk +++ b/libc/fmt/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/libc/intrin/BUILD.mk b/libc/intrin/BUILD.mk index 42531f7d8..e4ce22629 100644 --- a/libc/intrin/BUILD.mk +++ b/libc/intrin/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_INTRIN diff --git a/libc/intrin/kpollnames.S b/libc/intrin/kpollnames.S index 5d763e46b..21e0d4038 100644 --- a/libc/intrin/kpollnames.S +++ b/libc/intrin/kpollnames.S @@ -31,7 +31,7 @@ .balign 4 .underrun kPollNames: - .e POLLNVAL "POLLNVAL" + .e POLLNVAL "POLLNVAL" .e POLLWRNORM "POLLWRNORM" .e POLLWRBAND "POLLWRBAND" .e POLLRDNORM "POLLRDNORM" diff --git a/libc/intrin/kstarttsc.c b/libc/intrin/kstarttsc.c index 98a87a31f..55f6a2e7f 100644 --- a/libc/intrin/kstarttsc.c +++ b/libc/intrin/kstarttsc.c @@ -20,7 +20,7 @@ /** * Timestamp of process start. * - * @see libc/runtime/winmain.greg.h - * @see libc/crt/crt.S + * @see libc/runtime/winmain.greg.h + * @see libc/crt/crt.S */ uint64_t kStartTsc; diff --git a/libc/irq/BUILD.mk b/libc/irq/BUILD.mk index 77650ce96..a3fb241a3 100644 --- a/libc/irq/BUILD.mk +++ b/libc/irq/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_IRQ diff --git a/libc/log/BUILD.mk b/libc/log/BUILD.mk index fe4784276..b563ce28d 100644 --- a/libc/log/BUILD.mk +++ b/libc/log/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_LOG diff --git a/libc/mem/BUILD.mk b/libc/mem/BUILD.mk index 43c0408ed..5f9bd5f97 100644 --- a/libc/mem/BUILD.mk +++ b/libc/mem/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_MEM diff --git a/libc/mem/qsort.c b/libc/mem/qsort.c index 4ca7ae375..ca96a532a 100644 --- a/libc/mem/qsort.c +++ b/libc/mem/qsort.c @@ -63,7 +63,7 @@ static inline void swapfunc(char *, char *, size_t, int); TYPE t = *pi; \ *pi++ = *pj; \ *pj++ = t; \ - } while (--i > 0); \ + } while (--i > 0); \ } static inline void @@ -110,7 +110,7 @@ med3(char *a, char *b, char *c, CMPPAR) { return CMP(a, b) < 0 ? (CMP(b, c) < 0 ? b : (CMP(a, c) < 0 ? c : a )) - :(CMP(b, c) > 0 ? b : (CMP(a, c) < 0 ? a : c )); + :(CMP(b, c) > 0 ? b : (CMP(a, c) < 0 ? a : c )); } static void diff --git a/libc/nexgen32e/BUILD.mk b/libc/nexgen32e/BUILD.mk index 6a9470b6c..f2ff5b2ad 100644 --- a/libc/nexgen32e/BUILD.mk +++ b/libc/nexgen32e/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_NEXGEN32E diff --git a/libc/nexgen32e/blink_linux_aarch64.S b/libc/nexgen32e/blink_linux_aarch64.S index e85295581..586281e91 100644 --- a/libc/nexgen32e/blink_linux_aarch64.S +++ b/libc/nexgen32e/blink_linux_aarch64.S @@ -36,7 +36,7 @@ blink_linux_aarch64: .endobj blink_linux_aarch64,globl blink_linux_aarch64_size = . - blink_linux_aarch64 - .section .emush,"a",@progbits + .section .emush,"a",@progbits .ascii "if [ \"$s\" = Linux ]; then\n" .ascii "if [ \"$m\" = aarch64 ] || [ \"$m\" = arm64 ]; then\n" .ascii "if ! [ -x \"$e\" ]; then\n" diff --git a/libc/nexgen32e/blink_xnu_aarch64.S b/libc/nexgen32e/blink_xnu_aarch64.S index f589916a5..bef3e8247 100644 --- a/libc/nexgen32e/blink_xnu_aarch64.S +++ b/libc/nexgen32e/blink_xnu_aarch64.S @@ -36,7 +36,7 @@ blink_xnu_aarch64: .endobj blink_xnu_aarch64,globl blink_xnu_aarch64_size = . - blink_xnu_aarch64 - .section .emush,"a",@progbits + .section .emush,"a",@progbits .ascii "if [ \"$s\" = Darwin ] && [ \"$m\" = arm64 ]; then\n" .ascii "if ! [ -x \"$e\" ]; then\n" .ascii "echo \"extracting blink-darwin-aarch64 to ${e}\" >&2\n" diff --git a/libc/nt/BUILD.mk b/libc/nt/BUILD.mk index e37ceee44..b49f2c41a 100644 --- a/libc/nt/BUILD.mk +++ b/libc/nt/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_NT diff --git a/libc/nt/codegen.sh b/libc/nt/codegen.sh index 919548c75..0e4ce15f4 100644 --- a/libc/nt/codegen.sh +++ b/libc/nt/codegen.sh @@ -1,5 +1,5 @@ /usr/bin/env echo ' -*-mode:sh;indent-tabs-mode:nil;tab-width:8;coding:utf-8-*-│ -│ vi: set et ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set et ft=sh ts=8 sts=2 sw=2 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ @@ -61,9 +61,9 @@ imp() { thunk() { printf ' .text.windows - .ftrace1 + .ftrace1 %s: - .ftrace2 + .ftrace2 #ifdef __x86_64__ push %%rbp mov %%rsp,%%rbp @@ -81,9 +81,9 @@ thunk() { thunk0() { printf ' .text.windows - .ftrace1 + .ftrace1 %s: - .ftrace2 + .ftrace2 #ifdef __x86_64__ push %%rbp mov %%rsp,%%rbp @@ -102,9 +102,9 @@ thunk0() { thunk1() { printf ' .text.windows - .ftrace1 + .ftrace1 %s: - .ftrace2 + .ftrace2 #ifdef __x86_64__ push %%rbp mov %%rsp,%%rbp diff --git a/libc/nt/master.sh b/libc/nt/master.sh index 4552e9d8a..daee92599 100755 --- a/libc/nt/master.sh +++ b/libc/nt/master.sh @@ -1,5 +1,5 @@ /usr/bin/env echo ' -*-mode:sh;indent-tabs-mode:nil;tab-width:8;coding:utf-8-*-│ -│ vi: set et ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set noet ft=sh ts=8 sts=8 sw=8 fenc=utf-8 :vi │ ╚────────────────────────────────────────────────────────────────'>/dev/null #*/ . libc/nt/codegen.sh diff --git a/libc/proc/BUILD.mk b/libc/proc/BUILD.mk index 757b7a8bd..ca56c4b99 100644 --- a/libc/proc/BUILD.mk +++ b/libc/proc/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_PROC diff --git a/libc/runtime/BUILD.mk b/libc/runtime/BUILD.mk index 7987f175c..35843d5ff 100644 --- a/libc/runtime/BUILD.mk +++ b/libc/runtime/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/libc/sock/BUILD.mk b/libc/sock/BUILD.mk index 749f7a9db..78fcff239 100644 --- a/libc/sock/BUILD.mk +++ b/libc/sock/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_SOCK diff --git a/libc/stdio/BUILD.mk b/libc/stdio/BUILD.mk index 45e5b77b2..43e25aacf 100644 --- a/libc/stdio/BUILD.mk +++ b/libc/stdio/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_STDIO diff --git a/libc/stdio/clearerr.c b/libc/stdio/clearerr.c index 5a7c512b7..c3ec140ca 100644 --- a/libc/stdio/clearerr.c +++ b/libc/stdio/clearerr.c @@ -22,7 +22,7 @@ * Clears eof and error state indicators on stream. * * @param f is file object stream pointer - * @see clearerr_unlocked() + * @see clearerr_unlocked() */ void clearerr(FILE *f) { flockfile(f); diff --git a/libc/stdio/clearerr_unlocked.c b/libc/stdio/clearerr_unlocked.c index 2fe7f984e..3715fad6b 100644 --- a/libc/stdio/clearerr_unlocked.c +++ b/libc/stdio/clearerr_unlocked.c @@ -23,7 +23,7 @@ * Clears eof and error state indicators on stream. * * @param f is file object stream pointer - * @see clearerr() + * @see clearerr() */ void clearerr_unlocked(FILE *f) { f->state = 0; diff --git a/libc/stdio/feof.c b/libc/stdio/feof.c index a9b7c4b47..96f424834 100644 --- a/libc/stdio/feof.c +++ b/libc/stdio/feof.c @@ -22,7 +22,7 @@ * Returns true if stream is in end-of-file state. * * @param f is file object stream pointer - * @see feof_unlocked() + * @see feof_unlocked() */ int feof(FILE *f) { int rc; diff --git a/libc/stdio/feof_unlocked.c b/libc/stdio/feof_unlocked.c index 596421e1b..d229dc9a7 100644 --- a/libc/stdio/feof_unlocked.c +++ b/libc/stdio/feof_unlocked.c @@ -23,7 +23,7 @@ * Returns true if stream is in end-of-file state. * * @param f is file object stream pointer - * @see feof() + * @see feof() */ int feof_unlocked(FILE *f) { return f->state == -1; diff --git a/libc/stdio/iconv.c b/libc/stdio/iconv.c index b9e6026f0..791d73277 100644 --- a/libc/stdio/iconv.c +++ b/libc/stdio/iconv.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│ vi: set et ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set noet ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ Musl Libc │ diff --git a/libc/str/BUILD.mk b/libc/str/BUILD.mk index b443f514f..8a86f287a 100644 --- a/libc/str/BUILD.mk +++ b/libc/str/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_STR diff --git a/libc/sysv/BUILD.mk b/libc/sysv/BUILD.mk index 3ea4e224f..2cd0b1e88 100644 --- a/libc/sysv/BUILD.mk +++ b/libc/sysv/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_SYSV LIBC_SYSV_LIBS = $(foreach x,$(LIBC_SYSV_ARTIFACTS),$($(x)_A)) diff --git a/libc/sysv/consts.sh b/libc/sysv/consts.sh index 099d94b0b..8f164e35f 100755 --- a/libc/sysv/consts.sh +++ b/libc/sysv/consts.sh @@ -1,5 +1,5 @@ /*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ -│ vi: set et ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set noet ft=sh ts=8 sts=8 sw=8 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ diff --git a/libc/sysv/dos2errno.sh b/libc/sysv/dos2errno.sh index f44e1bcf8..1d19a0287 100755 --- a/libc/sysv/dos2errno.sh +++ b/libc/sysv/dos2errno.sh @@ -1,5 +1,5 @@ /*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ -│ vi: set et ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set noet ft=sh ts=8 sts=8 sw=8 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ diff --git a/libc/sysv/errno.c b/libc/sysv/errno.c index 3f8983ad2..570f29d5b 100644 --- a/libc/sysv/errno.c +++ b/libc/sysv/errno.c @@ -27,9 +27,9 @@ * defined as variables. By convention, system calls and other * functions do not update this variable when nothing's broken. * - * @see libc/sysv/consts.sh - * @see libc/sysv/errfuns.h - * @see __errno_location() stable abi + * @see libc/sysv/consts.sh + * @see libc/sysv/errfuns.h + * @see __errno_location() stable abi */ errno_t __errno; diff --git a/libc/sysv/gen.sh b/libc/sysv/gen.sh index 727061c11..2b79041f9 100644 --- a/libc/sysv/gen.sh +++ b/libc/sysv/gen.sh @@ -1,5 +1,5 @@ /*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ -│ vi: set et ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set et ft=sh ts=8 sts=2 sw=2 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ diff --git a/libc/sysv/syscalls.sh b/libc/sysv/syscalls.sh index 5f580f4ff..aeba9c3da 100755 --- a/libc/sysv/syscalls.sh +++ b/libc/sysv/syscalls.sh @@ -1,5 +1,5 @@ /*bin/echo ' -*- mode:sh; indent-tabs-mode:nil; tab-width:8; coding:utf-8 -*-│ -│ vi: set et ft=sh ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set noet ft=sh ts=8 sts=8 sw=8 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ diff --git a/libc/testlib/BUILD.mk b/libc/testlib/BUILD.mk index 8a25c2c53..0346e351f 100644 --- a/libc/testlib/BUILD.mk +++ b/libc/testlib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # Description: # Cosmopolitan Testing Library. diff --git a/libc/thread/BUILD.mk b/libc/thread/BUILD.mk index 7e00bc92e..7d452ce8c 100644 --- a/libc/thread/BUILD.mk +++ b/libc/thread/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_THREAD diff --git a/libc/time/BUILD.mk b/libc/time/BUILD.mk index 123375680..8705b3347 100644 --- a/libc/time/BUILD.mk +++ b/libc/time/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_TIME diff --git a/libc/time/localtime.c b/libc/time/localtime.c index 604309c53..c90686b2c 100644 --- a/libc/time/localtime.c +++ b/libc/time/localtime.c @@ -118,7 +118,7 @@ static const char gmt[] = "GMT"; #endif struct ttinfo { /* time type information */ - int32_t tt_utoff; /* UT offset in seconds */ + int32_t tt_utoff; /* UT offset in seconds */ bool tt_isdst; /* used to set tm_isdst */ int tt_desigidx; /* abbreviation list index */ bool tt_ttisstd; /* transition is std time */ @@ -127,7 +127,7 @@ struct ttinfo { /* time type information */ struct lsinfo { /* leap second information */ time_t ls_trans; /* transition time */ - int32_t ls_corr; /* correction to apply */ + int32_t ls_corr; /* correction to apply */ }; #define SMALLEST(a, b) (((a) < (b)) ? (a) : (b)) @@ -1093,8 +1093,8 @@ localtime_tzparse(const char *name, struct state *sp, struct state *basep) size_t stdlen; size_t dstlen; size_t charcnt; - int32_t stdoffset; - int32_t dstoffset; + int32_t stdoffset; + int32_t dstoffset; register char * cp; register bool load_ok; time_t atlo = TIME_T_MIN, leaplo = TIME_T_MIN; diff --git a/libc/time/strptime.c b/libc/time/strptime.c index dddfa9555..74c558466 100644 --- a/libc/time/strptime.c +++ b/libc/time/strptime.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=2 sw=8 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=2 sw=8 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ Musl Libc │ diff --git a/libc/tinymath/BUILD.mk b/libc/tinymath/BUILD.mk index df54d674e..df3806404 100644 --- a/libc/tinymath/BUILD.mk +++ b/libc/tinymath/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_TINYMATH diff --git a/libc/tinymath/atan2f.c b/libc/tinymath/atan2f.c index 8d11e0af7..875a38abe 100644 --- a/libc/tinymath/atan2f.c +++ b/libc/tinymath/atan2f.c @@ -55,7 +55,7 @@ biased_exponent (float f) if (UNLIKELY (ex == 0)) { /* Subnormal case - we still need to get the exponent right for subnormal - numbers as division may take us back inside the normal range. */ + numbers as division may take us back inside the normal range. */ return ex - __builtin_clz (fi << 9); } return ex; @@ -64,7 +64,7 @@ biased_exponent (float f) /* Fast implementation of scalar atan2f. Largest observed error is 2.88ulps in [99.0, 101.0] x [99.0, 101.0]: atan2f(0x1.9332d8p+6, 0x1.8cb6c4p+6) got 0x1.964646p-1 - want 0x1.964640p-1. */ + want 0x1.964640p-1. */ float atan2f (float y, float x) { @@ -96,15 +96,15 @@ atan2f (float y, float x) if (UNLIKELY (iay == 0 || (exp_diff >= POLY_UFLOW_BOUND && m >= 2))) { switch (m) - { - case 0: - case 1: - return y; /* atan(+-0,+anything)=+-0. */ - case 2: - return Pi; /* atan(+0,-anything) = pi. */ - case 3: - return -Pi; /* atan(-0,-anything) =-pi. */ - } + { + case 0: + case 1: + return y; /* atan(+-0,+anything)=+-0. */ + case 2: + return Pi; /* atan(+0,-anything) = pi. */ + case 3: + return -Pi; /* atan(-0,-anything) =-pi. */ + } } /* Special case for (x, y) either on or very close to the y axis. Either x = 0, or x is tiny and y is huge (difference in exponents >= @@ -116,33 +116,33 @@ atan2f (float y, float x) if (iax == 0x7f800000) { if (iay == 0x7f800000) - { - switch (m) - { - case 0: - return PiOver4; /* atan(+INF,+INF). */ - case 1: - return -PiOver4; /* atan(-INF,+INF). */ - case 2: - return 3.0f * PiOver4; /* atan(+INF,-INF). */ - case 3: - return -3.0f * PiOver4; /* atan(-INF,-INF). */ - } - } + { + switch (m) + { + case 0: + return PiOver4; /* atan(+INF,+INF). */ + case 1: + return -PiOver4; /* atan(-INF,+INF). */ + case 2: + return 3.0f * PiOver4; /* atan(+INF,-INF). */ + case 3: + return -3.0f * PiOver4; /* atan(-INF,-INF). */ + } + } else - { - switch (m) - { - case 0: - return 0.0f; /* atan(+...,+INF). */ - case 1: - return -0.0f; /* atan(-...,+INF). */ - case 2: - return Pi; /* atan(+...,-INF). */ - case 3: - return -Pi; /* atan(-...,-INF). */ - } - } + { + switch (m) + { + case 0: + return 0.0f; /* atan(+...,+INF). */ + case 1: + return -0.0f; /* atan(-...,+INF). */ + case 2: + return Pi; /* atan(+...,-INF). */ + case 3: + return -Pi; /* atan(-...,-INF). */ + } + } } /* y is INF. */ if (iay == 0x7f800000) @@ -164,7 +164,7 @@ atan2f (float y, float x) if (UNLIKELY (m < 2 && exp_diff >= POLY_UFLOW_BOUND)) { /* If (x, y) is very close to x axis and x is positive, the polynomial - will underflow and evaluate to z. */ + will underflow and evaluate to z. */ ret = z; } else diff --git a/libc/tinymath/atan_data.c b/libc/tinymath/atan_data.c index 8869c3ddc..18031482d 100644 --- a/libc/tinymath/atan_data.c +++ b/libc/tinymath/atan_data.c @@ -35,12 +35,12 @@ asm(".include \"libc/disclaimer.inc\""); const struct atan_poly_data __atan_poly_data = { .poly = {/* Coefficients of polynomial P such that atan(x)~x+x*P(x^2) on - [2**-1022, 1.0]. See atan.sollya for details of how these were - generated. */ - -0x1.5555555555555p-2, 0x1.99999999996c1p-3, -0x1.2492492478f88p-3, - 0x1.c71c71bc3951cp-4, -0x1.745d160a7e368p-4, 0x1.3b139b6a88ba1p-4, - -0x1.11100ee084227p-4, 0x1.e1d0f9696f63bp-5, -0x1.aebfe7b418581p-5, - 0x1.842dbe9b0d916p-5, -0x1.5d30140ae5e99p-5, 0x1.338e31eb2fbbcp-5, - -0x1.00e6eece7de8p-5, 0x1.860897b29e5efp-6, -0x1.0051381722a59p-6, - 0x1.14e9dc19a4a4ep-7, -0x1.d0062b42fe3bfp-9, 0x1.17739e210171ap-10, - -0x1.ab24da7be7402p-13, 0x1.358851160a528p-16}}; + [2**-1022, 1.0]. See atan.sollya for details of how these were + generated. */ + -0x1.5555555555555p-2, 0x1.99999999996c1p-3, -0x1.2492492478f88p-3, + 0x1.c71c71bc3951cp-4, -0x1.745d160a7e368p-4, 0x1.3b139b6a88ba1p-4, + -0x1.11100ee084227p-4, 0x1.e1d0f9696f63bp-5, -0x1.aebfe7b418581p-5, + 0x1.842dbe9b0d916p-5, -0x1.5d30140ae5e99p-5, 0x1.338e31eb2fbbcp-5, + -0x1.00e6eece7de8p-5, 0x1.860897b29e5efp-6, -0x1.0051381722a59p-6, + 0x1.14e9dc19a4a4ep-7, -0x1.d0062b42fe3bfp-9, 0x1.17739e210171ap-10, + -0x1.ab24da7be7402p-13, 0x1.358851160a528p-16}}; diff --git a/libc/tinymath/atanf_data.c b/libc/tinymath/atanf_data.c index 40fbd41c1..59697df4f 100644 --- a/libc/tinymath/atanf_data.c +++ b/libc/tinymath/atanf_data.c @@ -37,5 +37,5 @@ asm(".include \"libc/disclaimer.inc\""); */ const struct atanf_poly_data __atanf_poly_data = { .poly = {/* See atanf.sollya for details of how these were generated. */ - -0x1.55555p-2f, 0x1.99935ep-3f, -0x1.24051ep-3f, 0x1.bd7368p-4f, - -0x1.491f0ep-4f, 0x1.93a2c0p-5f, -0x1.4c3c60p-6f, 0x1.01fd88p-8f}}; + -0x1.55555p-2f, 0x1.99935ep-3f, -0x1.24051ep-3f, 0x1.bd7368p-4f, + -0x1.491f0ep-4f, 0x1.93a2c0p-5f, -0x1.4c3c60p-6f, 0x1.01fd88p-8f}}; diff --git a/libc/tinymath/exp2f_data.c b/libc/tinymath/exp2f_data.c index 809c5905d..94442cc73 100644 --- a/libc/tinymath/exp2f_data.c +++ b/libc/tinymath/exp2f_data.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=8 sw=8 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=8 sw=8 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ Musl Libc │ diff --git a/libc/tinymath/expl.c b/libc/tinymath/expl.c index 9d8239fe1..5ff1010c3 100644 --- a/libc/tinymath/expl.c +++ b/libc/tinymath/expl.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│ vi: set et ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set noet ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2023 Justine Alexandra Roberts Tunney │ │ │ diff --git a/libc/tinymath/expm1f.c b/libc/tinymath/expm1f.c index 6500aec27..e9e3b8530 100644 --- a/libc/tinymath/expm1f.c +++ b/libc/tinymath/expm1f.c @@ -81,11 +81,11 @@ expm1f(float x) /* filter out huge and non-finite argument */ if(hx >= 0x4195b844) { /* if |x|>=27*ln2 */ if(hx >= 0x42b17218) { /* if |x|>=88.721... */ - if(hx>0x7f800000) + if(hx>0x7f800000) return x+x; /* NaN */ if(hx==0x7f800000) return (xsb==0)? x:-1.0;/* exp(+-inf)={inf,-1} */ - if(x > o_threshold) return huge*huge; /* overflow */ + if(x > o_threshold) return huge*huge; /* overflow */ } if(xsb!=0) { /* x < -27*ln2, return -1.0 with inexact */ if(x+tiny<(float)0.0) /* raise inexact */ @@ -132,14 +132,14 @@ expm1f(float x) else return one+(float)2.0*(x-e); } if (k <= -2 || k>56) { /* suffice to return exp(x)-1 */ - y = one-(e-x); + y = one-(e-x); if (k == 128) y = y*2.0F*0x1p127F; else y = y*twopk; - return y-one; + return y-one; } t = one; if(k<23) { - SET_FLOAT_WORD(t,0x3f800000 - (0x1000000>>k)); /* t=1-2^-k */ + SET_FLOAT_WORD(t,0x3f800000 - (0x1000000>>k)); /* t=1-2^-k */ y = t-(e-x); y = y*twopk; } else { diff --git a/libc/tinymath/ktan.c b/libc/tinymath/ktan.c index 695c6b70e..1d7da7d8e 100644 --- a/libc/tinymath/ktan.c +++ b/libc/tinymath/ktan.c @@ -90,19 +90,19 @@ asm(".include \"libc/disclaimer.inc\""); #define INSERT(d,hi,lo) (d)=ASDOUBLE((uint64_t)(hi)<<32|(uint32_t)(lo)) static const double T[] = { - 3.33333333333334091986e-01, /* 3FD55555, 55555563 */ - 1.33333333333201242699e-01, /* 3FC11111, 1110FE7A */ - 5.39682539762260521377e-02, /* 3FABA1BA, 1BB341FE */ - 2.18694882948595424599e-02, /* 3F9664F4, 8406D637 */ - 8.86323982359930005737e-03, /* 3F8226E3, E96E8493 */ - 3.59207910759131235356e-03, /* 3F6D6D22, C9560328 */ - 1.45620945432529025516e-03, /* 3F57DBC8, FEE08315 */ - 5.88041240820264096874e-04, /* 3F4344D8, F2F26501 */ - 2.46463134818469906812e-04, /* 3F3026F7, 1A8D1068 */ - 7.81794442939557092300e-05, /* 3F147E88, A03792A6 */ - 7.14072491382608190305e-05, /* 3F12B80F, 32F0A7E9 */ - -1.85586374855275456654e-05, /* BEF375CB, DB605373 */ - 2.59073051863633712884e-05, /* 3EFB2A70, 74BF7AD4 */ + 3.33333333333334091986e-01, /* 3FD55555, 55555563 */ + 1.33333333333201242699e-01, /* 3FC11111, 1110FE7A */ + 5.39682539762260521377e-02, /* 3FABA1BA, 1BB341FE */ + 2.18694882948595424599e-02, /* 3F9664F4, 8406D637 */ + 8.86323982359930005737e-03, /* 3F8226E3, E96E8493 */ + 3.59207910759131235356e-03, /* 3F6D6D22, C9560328 */ + 1.45620945432529025516e-03, /* 3F57DBC8, FEE08315 */ + 5.88041240820264096874e-04, /* 3F4344D8, F2F26501 */ + 2.46463134818469906812e-04, /* 3F3026F7, 1A8D1068 */ + 7.81794442939557092300e-05, /* 3F147E88, A03792A6 */ + 7.14072491382608190305e-05, /* 3F12B80F, 32F0A7E9 */ + -1.85586374855275456654e-05, /* BEF375CB, DB605373 */ + 2.59073051863633712884e-05, /* 3EFB2A70, 74BF7AD4 */ }, pio4 = 7.85398163397448278999e-01, /* 3FE921FB, 54442D18 */ pio4lo = 3.06161699786838301793e-17; /* 3C81A626, 33145C07 */ diff --git a/libc/tinymath/log1pf.c b/libc/tinymath/log1pf.c index 1a6356b57..7e8a3a17e 100644 --- a/libc/tinymath/log1pf.c +++ b/libc/tinymath/log1pf.c @@ -105,35 +105,35 @@ log1pf (float x) /* Handle special cases first. */ if (UNLIKELY (ia12 >= 0x7f8 || ix >= 0xbf800000 || ix == 0x80000000 - || e <= TINY_BOUND_BEXP)) + || e <= TINY_BOUND_BEXP)) { if (ix == 0xff800000) - { - /* x == -Inf => log1pf(x) = NaN. */ - return NAN; - } + { + /* x == -Inf => log1pf(x) = NaN. */ + return NAN; + } if ((ix == 0x7f800000 || e <= TINY_BOUND_BEXP) && ia12 <= 0x7f8) - { - /* |x| < TinyBound => log1p(x) = x. - x == Inf => log1pf(x) = Inf. */ - return x; - } + { + /* |x| < TinyBound => log1p(x) = x. + x == Inf => log1pf(x) = Inf. */ + return x; + } if (ix == 0xbf800000) - { - /* x == -1.0 => log1pf(x) = -Inf. */ - return __math_divzerof (-1); - } + { + /* x == -1.0 => log1pf(x) = -Inf. */ + return __math_divzerof (-1); + } if (ia12 >= 0x7f8) - { - /* x == +/-NaN => log1pf(x) = NaN. */ - return __math_invalidf (asfloat (ia)); - } + { + /* x == +/-NaN => log1pf(x) = NaN. */ + return __math_invalidf (asfloat (ia)); + } /* x < -1.0 => log1pf(x) = NaN. */ return __math_invalidf (x); } /* With x + 1 = t * 2^k (where t = m + 1 and k is chosen such that m - is in [-0.25, 0.5]): + is in [-0.25, 0.5]): log1p(x) = log(t) + log(2^k) = log1p(m) + k*log(2). We approximate log1p(m) with a polynomial, then scale by @@ -144,8 +144,8 @@ log1pf (float x) if (ix <= 0x3f000000 || ia <= 0x3e800000) { /* If x is in [-0.25, 0.5] then we can shortcut all the logic - below, as k = 0 and m = x. All we need is to return the - polynomial. */ + below, as k = 0 and m = x. All we need is to return the + polynomial. */ return eval_poly (x, e); } @@ -154,10 +154,10 @@ log1pf (float x) /* k is used scale the input. 0x3f400000 is chosen as we are trying to reduce x to the range [-0.25, 0.5]. Inside this range, k is 0. Outside this range, if k is reinterpreted as (NOT CONVERTED TO) float: - let k = sign * 2^p where sign = -1 if x < 0 - 1 otherwise - and p is a negative integer whose magnitude increases with the - magnitude of x. */ + let k = sign * 2^p where sign = -1 if x < 0 + 1 otherwise + and p is a negative integer whose magnitude increases with the + magnitude of x. */ int k = (asuint (m) - 0x3f400000) & 0xff800000; /* By using integer arithmetic, we obtain the necessary scaling by diff --git a/libc/tinymath/log1pf_data.c b/libc/tinymath/log1pf_data.c index 5bb941f0d..019292e22 100644 --- a/libc/tinymath/log1pf_data.c +++ b/libc/tinymath/log1pf_data.c @@ -37,5 +37,5 @@ asm(".include \"libc/disclaimer.inc\""); algorithm, see tools/log1pf.sollya for details. */ const struct log1pf_data __log1pf_data = {.coeffs = {-0x1p-1f, 0x1.5555aap-2f, -0x1.000038p-2f, 0x1.99675cp-3f, - -0x1.54ef78p-3f, 0x1.28a1f4p-3f, -0x1.0da91p-3f, 0x1.abcb6p-4f, - -0x1.6f0d5ep-5f}}; + -0x1.54ef78p-3f, 0x1.28a1f4p-3f, -0x1.0da91p-3f, 0x1.abcb6p-4f, + -0x1.6f0d5ep-5f}}; diff --git a/libc/tinymath/powl.c b/libc/tinymath/powl.c index 6970ee42b..8fccae31b 100644 --- a/libc/tinymath/powl.c +++ b/libc/tinymath/powl.c @@ -292,229 +292,229 @@ static long double powil(long double, int); long double powl(long double x, long double y) { - /* double F, Fa, Fb, G, Ga, Gb, H, Ha, Hb */ - int i, nflg, iyflg, yoddint; - long e; - volatile long double z=0; - long double w=0, W=0, Wa=0, Wb=0, ya=0, yb=0, u=0; + /* double F, Fa, Fb, G, Ga, Gb, H, Ha, Hb */ + int i, nflg, iyflg, yoddint; + long e; + volatile long double z=0; + long double w=0, W=0, Wa=0, Wb=0, ya=0, yb=0, u=0; - /* make sure no invalid exception is raised by nan comparision */ - if (isnan(x)) { - if (!isnan(y) && y == 0.0) - return 1.0; - return x; - } - if (isnan(y)) { - if (x == 1.0) - return 1.0; - return y; - } - if (x == 1.0) - return 1.0; /* 1**y = 1, even if y is nan */ - if (x == -1.0 && !isfinite(y)) - return 1.0; /* -1**inf = 1 */ - if (y == 0.0) - return 1.0; /* x**0 = 1, even if x is nan */ - if (y == 1.0) - return x; - if (y >= LDBL_MAX) { - if (x > 1.0 || x < -1.0) - return INFINITY; - if (x != 0.0) - return 0.0; - } - if (y <= -LDBL_MAX) { - if (x > 1.0 || x < -1.0) - return 0.0; - if (x != 0.0 || y == -INFINITY) - return INFINITY; - } - if (x >= LDBL_MAX) { - if (y > 0.0) - return INFINITY; - return 0.0; - } + /* make sure no invalid exception is raised by nan comparision */ + if (isnan(x)) { + if (!isnan(y) && y == 0.0) + return 1.0; + return x; + } + if (isnan(y)) { + if (x == 1.0) + return 1.0; + return y; + } + if (x == 1.0) + return 1.0; /* 1**y = 1, even if y is nan */ + if (x == -1.0 && !isfinite(y)) + return 1.0; /* -1**inf = 1 */ + if (y == 0.0) + return 1.0; /* x**0 = 1, even if x is nan */ + if (y == 1.0) + return x; + if (y >= LDBL_MAX) { + if (x > 1.0 || x < -1.0) + return INFINITY; + if (x != 0.0) + return 0.0; + } + if (y <= -LDBL_MAX) { + if (x > 1.0 || x < -1.0) + return 0.0; + if (x != 0.0 || y == -INFINITY) + return INFINITY; + } + if (x >= LDBL_MAX) { + if (y > 0.0) + return INFINITY; + return 0.0; + } - w = floorl(y); + w = floorl(y); - /* Set iyflg to 1 if y is an integer. */ - iyflg = 0; - if (w == y) - iyflg = 1; + /* Set iyflg to 1 if y is an integer. */ + iyflg = 0; + if (w == y) + iyflg = 1; - /* Test for odd integer y. */ - yoddint = 0; - if (iyflg) { - ya = fabsl(y); - ya = floorl(0.5 * ya); - yb = 0.5 * fabsl(w); - if( ya != yb ) - yoddint = 1; - } + /* Test for odd integer y. */ + yoddint = 0; + if (iyflg) { + ya = fabsl(y); + ya = floorl(0.5 * ya); + yb = 0.5 * fabsl(w); + if( ya != yb ) + yoddint = 1; + } - if (x <= -LDBL_MAX) { - if (y > 0.0) { - if (yoddint) - return -INFINITY; - return INFINITY; - } - if (y < 0.0) { - if (yoddint) - return -0.0; - return 0.0; - } - } - nflg = 0; /* (x<0)**(odd int) */ - if (x <= 0.0) { - if (x == 0.0) { - if (y < 0.0) { - if (signbit(x) && yoddint) - /* (-0.0)**(-odd int) = -inf, divbyzero */ - return -1.0/0.0; - /* (+-0.0)**(negative) = inf, divbyzero */ - return 1.0/0.0; - } - if (signbit(x) && yoddint) - return -0.0; - return 0.0; - } - if (iyflg == 0) - return (x - x) / (x - x); /* (x<0)**(non-int) is NaN */ - /* (x<0)**(integer) */ - if (yoddint) - nflg = 1; /* negate result */ - x = -x; - } - /* (+integer)**(integer) */ - if (iyflg && floorl(x) == x && fabsl(y) < 32768.0) { - w = powil(x, (int)y); - return nflg ? -w : w; - } + if (x <= -LDBL_MAX) { + if (y > 0.0) { + if (yoddint) + return -INFINITY; + return INFINITY; + } + if (y < 0.0) { + if (yoddint) + return -0.0; + return 0.0; + } + } + nflg = 0; /* (x<0)**(odd int) */ + if (x <= 0.0) { + if (x == 0.0) { + if (y < 0.0) { + if (signbit(x) && yoddint) + /* (-0.0)**(-odd int) = -inf, divbyzero */ + return -1.0/0.0; + /* (+-0.0)**(negative) = inf, divbyzero */ + return 1.0/0.0; + } + if (signbit(x) && yoddint) + return -0.0; + return 0.0; + } + if (iyflg == 0) + return (x - x) / (x - x); /* (x<0)**(non-int) is NaN */ + /* (x<0)**(integer) */ + if (yoddint) + nflg = 1; /* negate result */ + x = -x; + } + /* (+integer)**(integer) */ + if (iyflg && floorl(x) == x && fabsl(y) < 32768.0) { + w = powil(x, (int)y); + return nflg ? -w : w; + } - /* separate significand from exponent */ - x = frexpl(x, &i); - e = i; + /* separate significand from exponent */ + x = frexpl(x, &i); + e = i; - /* find significand in antilog table A[] */ - i = 1; - if (x <= A[17]) - i = 17; - if (x <= A[i+8]) - i += 8; - if (x <= A[i+4]) - i += 4; - if (x <= A[i+2]) - i += 2; - if (x >= A[1]) - i = -1; - i += 1; + /* find significand in antilog table A[] */ + i = 1; + if (x <= A[17]) + i = 17; + if (x <= A[i+8]) + i += 8; + if (x <= A[i+4]) + i += 4; + if (x <= A[i+2]) + i += 2; + if (x >= A[1]) + i = -1; + i += 1; - /* Find (x - A[i])/A[i] - * in order to compute log(x/A[i]): - * - * log(x) = log( a x/a ) = log(a) + log(x/a) - * - * log(x/a) = log(1+v), v = x/a - 1 = (x-a)/a - */ - x -= A[i]; - x -= B[i/2]; - x /= A[i]; + /* Find (x - A[i])/A[i] + * in order to compute log(x/A[i]): + * + * log(x) = log( a x/a ) = log(a) + log(x/a) + * + * log(x/a) = log(1+v), v = x/a - 1 = (x-a)/a + */ + x -= A[i]; + x -= B[i/2]; + x /= A[i]; - /* rational approximation for log(1+v): - * - * log(1+v) = v - v**2/2 + v**3 P(v) / Q(v) - */ - z = x*x; - w = x * (z * __polevll(x, P, 3) / __p1evll(x, Q, 3)); - w = w - 0.5*z; + /* rational approximation for log(1+v): + * + * log(1+v) = v - v**2/2 + v**3 P(v) / Q(v) + */ + z = x*x; + w = x * (z * __polevll(x, P, 3) / __p1evll(x, Q, 3)); + w = w - 0.5*z; - /* Convert to base 2 logarithm: - * multiply by log2(e) = 1 + LOG2EA - */ - z = LOG2EA * w; - z += w; - z += LOG2EA * x; - z += x; + /* Convert to base 2 logarithm: + * multiply by log2(e) = 1 + LOG2EA + */ + z = LOG2EA * w; + z += w; + z += LOG2EA * x; + z += x; - /* Compute exponent term of the base 2 logarithm. */ - w = -i; - w /= NXT; - w += e; - /* Now base 2 log of x is w + z. */ + /* Compute exponent term of the base 2 logarithm. */ + w = -i; + w /= NXT; + w += e; + /* Now base 2 log of x is w + z. */ - /* Multiply base 2 log by y, in extended precision. */ + /* Multiply base 2 log by y, in extended precision. */ - /* separate y into large part ya - * and small part yb less than 1/NXT - */ - ya = reducl(y); - yb = y - ya; + /* separate y into large part ya + * and small part yb less than 1/NXT + */ + ya = reducl(y); + yb = y - ya; - /* (w+z)(ya+yb) - * = w*ya + w*yb + z*y - */ - F = z * y + w * yb; - Fa = reducl(F); - Fb = F - Fa; + /* (w+z)(ya+yb) + * = w*ya + w*yb + z*y + */ + F = z * y + w * yb; + Fa = reducl(F); + Fb = F - Fa; - G = Fa + w * ya; - Ga = reducl(G); - Gb = G - Ga; + G = Fa + w * ya; + Ga = reducl(G); + Gb = G - Ga; - H = Fb + Gb; - Ha = reducl(H); - w = (Ga + Ha) * NXT; + H = Fb + Gb; + Ha = reducl(H); + w = (Ga + Ha) * NXT; - /* Test the power of 2 for overflow */ - if (w > MEXP) - return huge * huge; /* overflow */ - if (w < MNEXP) - return twom10000 * twom10000; /* underflow */ + /* Test the power of 2 for overflow */ + if (w > MEXP) + return huge * huge; /* overflow */ + if (w < MNEXP) + return twom10000 * twom10000; /* underflow */ - e = w; - Hb = H - Ha; + e = w; + Hb = H - Ha; - if (Hb > 0.0) { - e += 1; - Hb -= 1.0/NXT; /*0.0625L;*/ - } + if (Hb > 0.0) { + e += 1; + Hb -= 1.0/NXT; /*0.0625L;*/ + } - /* Now the product y * log2(x) = Hb + e/NXT. - * - * Compute base 2 exponential of Hb, - * where -0.0625 <= Hb <= 0. - */ - z = Hb * __polevll(Hb, R, 6); /* z = 2**Hb - 1 */ + /* Now the product y * log2(x) = Hb + e/NXT. + * + * Compute base 2 exponential of Hb, + * where -0.0625 <= Hb <= 0. + */ + z = Hb * __polevll(Hb, R, 6); /* z = 2**Hb - 1 */ - /* Express e/NXT as an integer plus a negative number of (1/NXT)ths. - * Find lookup table entry for the fractional power of 2. - */ - if (e < 0) - i = 0; - else - i = 1; - i = e/NXT + i; - e = NXT*i - e; - w = A[e]; - z = w * z; /* 2**-e * ( 1 + (2**Hb-1) ) */ - z = z + w; - z = scalbnl(z, i); /* multiply by integer power of 2 */ + /* Express e/NXT as an integer plus a negative number of (1/NXT)ths. + * Find lookup table entry for the fractional power of 2. + */ + if (e < 0) + i = 0; + else + i = 1; + i = e/NXT + i; + e = NXT*i - e; + w = A[e]; + z = w * z; /* 2**-e * ( 1 + (2**Hb-1) ) */ + z = z + w; + z = scalbnl(z, i); /* multiply by integer power of 2 */ - if (nflg) - z = -z; - return z; + if (nflg) + z = -z; + return z; } /* Find a multiple of 1/NXT that is within 1/NXT of x. */ static long double reducl(long double x) { - long double t; + long double t; - t = x * NXT; - t = floorl(t); - t = t / NXT; - return t; + t = x * NXT; + t = floorl(t); + t = t / NXT; + return t; } /* @@ -551,66 +551,66 @@ static long double reducl(long double x) static long double powil(long double x, int nn) { - long double ww, y; - long double s; - int n, e, sign, lx; + long double ww, y; + long double s; + int n, e, sign, lx; - if (nn == 0) - return 1.0; + if (nn == 0) + return 1.0; - if (nn < 0) { - sign = -1; - n = -nn; - } else { - sign = 1; - n = nn; - } + if (nn < 0) { + sign = -1; + n = -nn; + } else { + sign = 1; + n = nn; + } - /* Overflow detection */ + /* Overflow detection */ - /* Calculate approximate logarithm of answer */ - s = x; - s = frexpl( s, &lx); - e = (lx - 1)*n; - if ((e == 0) || (e > 64) || (e < -64)) { - s = (s - 7.0710678118654752e-1L) / (s + 7.0710678118654752e-1L); - s = (2.9142135623730950L * s - 0.5 + lx) * nn * LOGE2L; - } else { - s = LOGE2L * e; - } + /* Calculate approximate logarithm of answer */ + s = x; + s = frexpl( s, &lx); + e = (lx - 1)*n; + if ((e == 0) || (e > 64) || (e < -64)) { + s = (s - 7.0710678118654752e-1L) / (s + 7.0710678118654752e-1L); + s = (2.9142135623730950L * s - 0.5 + lx) * nn * LOGE2L; + } else { + s = LOGE2L * e; + } - if (s > MAXLOGL) - return huge * huge; /* overflow */ + if (s > MAXLOGL) + return huge * huge; /* overflow */ - if (s < MINLOGL) - return twom10000 * twom10000; /* underflow */ - /* Handle tiny denormal answer, but with less accuracy - * since roundoff error in 1.0/x will be amplified. - * The precise demarcation should be the gradual underflow threshold. - */ - if (s < -MAXLOGL+2.0) { - x = 1.0/x; - sign = -sign; - } + if (s < MINLOGL) + return twom10000 * twom10000; /* underflow */ + /* Handle tiny denormal answer, but with less accuracy + * since roundoff error in 1.0/x will be amplified. + * The precise demarcation should be the gradual underflow threshold. + */ + if (s < -MAXLOGL+2.0) { + x = 1.0/x; + sign = -sign; + } - /* First bit of the power */ - if (n & 1) - y = x; - else - y = 1.0; + /* First bit of the power */ + if (n & 1) + y = x; + else + y = 1.0; - ww = x; - n >>= 1; - while (n) { - ww = ww * ww; /* arg to the 2-to-the-kth power */ - if (n & 1) /* if that bit is set, then include in product */ - y *= ww; - n >>= 1; - } + ww = x; + n >>= 1; + while (n) { + ww = ww * ww; /* arg to the 2-to-the-kth power */ + if (n & 1) /* if that bit is set, then include in product */ + y *= ww; + n >>= 1; + } - if (sign < 0) - y = 1.0/y; - return y; + if (sign < 0) + y = 1.0/y; + return y; } #elif LDBL_MANT_DIG == 113 && LDBL_MAX_EXP == 16384 @@ -649,35 +649,35 @@ Copyright (c) 2008 Stephen L. Moshier \""); /* powl(x,y) return x**y * - * n + * n * Method: Let x = 2 * (1+f) - * 1. Compute and return log2(x) in two pieces: - * log2(x) = w1 + w2, - * where w1 has 113-53 = 60 bit trailing zeros. - * 2. Perform y*log2(x) = n+y' by simulating multi-precision - * arithmetic, where |y'|<=0.5. - * 3. Return x**y = 2**n*exp(y'*log2) + * 1. Compute and return log2(x) in two pieces: + * log2(x) = w1 + w2, + * where w1 has 113-53 = 60 bit trailing zeros. + * 2. Perform y*log2(x) = n+y' by simulating multi-precision + * arithmetic, where |y'|<=0.5. + * 3. Return x**y = 2**n*exp(y'*log2) * * Special cases: - * 1. (anything) ** 0 is 1 - * 2. (anything) ** 1 is itself - * 3. (anything) ** NAN is NAN - * 4. NAN ** (anything except 0) is NAN - * 5. +-(|x| > 1) ** +INF is +INF - * 6. +-(|x| > 1) ** -INF is +0 - * 7. +-(|x| < 1) ** +INF is +0 - * 8. +-(|x| < 1) ** -INF is +INF - * 9. +-1 ** +-INF is NAN - * 10. +0 ** (+anything except 0, NAN) is +0 - * 11. -0 ** (+anything except 0, NAN, odd integer) is +0 - * 12. +0 ** (-anything except 0, NAN) is +INF - * 13. -0 ** (-anything except 0, NAN, odd integer) is +INF - * 14. -0 ** (odd integer) = -( +0 ** (odd integer) ) - * 15. +INF ** (+anything except 0,NAN) is +INF - * 16. +INF ** (-anything except 0,NAN) is +0 - * 17. -INF ** (anything) = -0 ** (-anything) - * 18. (-anything) ** (integer) is (-1)**(integer)*(+anything**integer) - * 19. (-anything except 0 and inf) ** (non-integer) is NAN + * 1. (anything) ** 0 is 1 + * 2. (anything) ** 1 is itself + * 3. (anything) ** NAN is NAN + * 4. NAN ** (anything except 0) is NAN + * 5. +-(|x| > 1) ** +INF is +INF + * 6. +-(|x| > 1) ** -INF is +0 + * 7. +-(|x| < 1) ** +INF is +0 + * 8. +-(|x| < 1) ** -INF is +INF + * 9. +-1 ** +-INF is NAN + * 10. +0 ** (+anything except 0, NAN) is +0 + * 11. -0 ** (+anything except 0, NAN, odd integer) is +0 + * 12. +0 ** (-anything except 0, NAN) is +INF + * 13. -0 ** (-anything except 0, NAN, odd integer) is +INF + * 14. -0 ** (odd integer) = -( +0 ** (odd integer) ) + * 15. +INF ** (+anything except 0,NAN) is +INF + * 16. +INF ** (-anything except 0,NAN) is +0 + * 17. -INF ** (anything) = -0 ** (-anything) + * 18. (-anything) ** (integer) is (-1)**(integer)*(+anything**integer) + * 19. (-anything except 0 and inf) ** (non-integer) is NAN * */ @@ -792,10 +792,10 @@ powl(long double x, long double y) /* +-NaN return x+y */ if ((ix > 0x7fff0000) || ((ix == 0x7fff0000) - && ((p.parts32.mswlo | p.parts32.lswhi | p.parts32.lswlo) != 0)) + && ((p.parts32.mswlo | p.parts32.lswhi | p.parts32.lswlo) != 0)) || (iy > 0x7fff0000) || ((iy == 0x7fff0000) - && ((q.parts32.mswlo | q.parts32.lswhi | q.parts32.lswlo) != 0))) + && ((q.parts32.mswlo | q.parts32.lswhi | q.parts32.lswlo) != 0))) return nan_mix(x, y); /* determine if y is an odd int when x < 0 @@ -806,48 +806,48 @@ powl(long double x, long double y) yisint = 0; if (hx < 0) { - if (iy >= 0x40700000) /* 2^113 */ - yisint = 2; /* even integer y */ - else if (iy >= 0x3fff0000) /* 1.0 */ - { - if (floorl (y) == y) - { - z = 0.5 * y; - if (floorl (z) == z) - yisint = 2; - else - yisint = 1; - } - } + if (iy >= 0x40700000) /* 2^113 */ + yisint = 2; /* even integer y */ + else if (iy >= 0x3fff0000) /* 1.0 */ + { + if (floorl (y) == y) + { + z = 0.5 * y; + if (floorl (z) == z) + yisint = 2; + else + yisint = 1; + } + } } /* special value of y */ if ((q.parts32.mswlo | q.parts32.lswhi | q.parts32.lswlo) == 0) { - if (iy == 0x7fff0000) /* y is +-inf */ - { - if (((ix - 0x3fff0000) | p.parts32.mswlo | p.parts32.lswhi | - p.parts32.lswlo) == 0) - return y - y; /* +-1**inf is NaN */ - else if (ix >= 0x3fff0000) /* (|x|>1)**+-inf = inf,0 */ - return (hy >= 0) ? y : zero; - else /* (|x|<1)**-,+inf = inf,0 */ - return (hy < 0) ? -y : zero; - } + if (iy == 0x7fff0000) /* y is +-inf */ + { + if (((ix - 0x3fff0000) | p.parts32.mswlo | p.parts32.lswhi | + p.parts32.lswlo) == 0) + return y - y; /* +-1**inf is NaN */ + else if (ix >= 0x3fff0000) /* (|x|>1)**+-inf = inf,0 */ + return (hy >= 0) ? y : zero; + else /* (|x|<1)**-,+inf = inf,0 */ + return (hy < 0) ? -y : zero; + } if (iy == 0x3fff0000) - { /* y is +-1 */ - if (hy < 0) - return one / x; - else - return x; - } + { /* y is +-1 */ + if (hy < 0) + return one / x; + else + return x; + } if (hy == 0x40000000) - return x * x; /* y is 2 */ + return x * x; /* y is 2 */ if (hy == 0x3ffe0000) - { /* y is 0.5 */ - if (hx >= 0) /* x >= +0 */ - return sqrtl (x); - } + { /* y is 0.5 */ + if (hx >= 0) /* x >= +0 */ + return sqrtl (x); + } } ax = fabsl (x); @@ -855,21 +855,21 @@ powl(long double x, long double y) if ((p.parts32.mswlo | p.parts32.lswhi | p.parts32.lswlo) == 0) { if (ix == 0x7fff0000 || ix == 0 || ix == 0x3fff0000) - { - z = ax; /*x is +-0,+-inf,+-1 */ - if (hy < 0) - z = one / z; /* z = (1/|x|) */ - if (hx < 0) - { - if (((ix - 0x3fff0000) | yisint) == 0) - { - z = (z - z) / (z - z); /* (-1)**non-int is NaN */ - } - else if (yisint == 1) - z = -z; /* (x<0)**odd = -(|x|**odd) */ - } - return z; - } + { + z = ax; /*x is +-0,+-inf,+-1 */ + if (hy < 0) + z = one / z; /* z = (1/|x|) */ + if (hx < 0) + { + if (((ix - 0x3fff0000) | yisint) == 0) + { + z = (z - z) / (z - z); /* (-1)**non-int is NaN */ + } + else if (yisint == 1) + z = -z; /* (x<0)**odd = -(|x|**odd) */ + } + return z; + } } /* (x<0)**(non-int) is NaN */ @@ -883,17 +883,17 @@ powl(long double x, long double y) { /* if (1 - 2^-113)^y underflows, y > 1.1873e38 */ if (iy > 0x407d654b) - { - if (ix <= 0x3ffeffff) - return (hy < 0) ? huge * huge : tiny * tiny; - if (ix >= 0x3fff0000) - return (hy > 0) ? huge * huge : tiny * tiny; - } + { + if (ix <= 0x3ffeffff) + return (hy < 0) ? huge * huge : tiny * tiny; + if (ix >= 0x3fff0000) + return (hy > 0) ? huge * huge : tiny * tiny; + } /* over/underflow if x is not close to one */ if (ix < 0x3ffeffff) - return (hy < 0) ? huge * huge : tiny * tiny; + return (hy < 0) ? huge * huge : tiny * tiny; if (ix > 0x3fff0000) - return (hy > 0) ? huge * huge : tiny * tiny; + return (hy > 0) ? huge * huge : tiny * tiny; } n = 0; @@ -908,11 +908,11 @@ powl(long double x, long double y) n += ((ix) >> 16) - 0x3fff; j = ix & 0x0000ffff; /* determine interval */ - ix = j | 0x3fff0000; /* normalize ix */ + ix = j | 0x3fff0000; /* normalize ix */ if (j <= 0x3988) - k = 0; /* |x|> 31) - 1) | (yisint - 1)) == 0) - s = -one; /* (-ve)**(odd int) */ + s = -one; /* (-ve)**(odd int) */ /* split up y into yy1+y2 and compute (yy1+y2)*(t1+t2) */ yy1 = y; @@ -996,33 +996,33 @@ powl(long double x, long double y) { /* if z > 16384 */ if (((j - 0x400d0000) | o.parts32.mswlo | o.parts32.lswhi | - o.parts32.lswlo) != 0) - return s * huge * huge; /* overflow */ + o.parts32.lswlo) != 0) + return s * huge * huge; /* overflow */ else - { - if (p_l + ovt > z - p_h) - return s * huge * huge; /* overflow */ - } + { + if (p_l + ovt > z - p_h) + return s * huge * huge; /* overflow */ + } } - else if ((j & 0x7fffffff) >= 0x400d01b9) /* z <= -16495 */ + else if ((j & 0x7fffffff) >= 0x400d01b9) /* z <= -16495 */ { /* z < -16495 */ if (((j - 0xc00d01bc) | o.parts32.mswlo | o.parts32.lswhi | - o.parts32.lswlo) - != 0) - return s * tiny * tiny; /* underflow */ + o.parts32.lswlo) + != 0) + return s * tiny * tiny; /* underflow */ else - { - if (p_l <= z - p_h) - return s * tiny * tiny; /* underflow */ - } + { + if (p_l <= z - p_h) + return s * tiny * tiny; /* underflow */ + } } /* compute 2**(p_h+p_l) */ i = j & 0x7fffffff; k = (i >> 16) - 0x3fff; n = 0; if (i > 0x3ffe0000) - { /* if |z| > 0.5, set n = [z+0.5] */ + { /* if |z| > 0.5, set n = [z+0.5] */ n = floorl (z + 0.5L); t = n; p_h -= t; @@ -1047,7 +1047,7 @@ powl(long double x, long double y) j = o.parts32.mswhi; j += (n << 16); if ((j >> 16) <= 0) - z = scalbnl (z, n); /* subnormal output */ + z = scalbnl (z, n); /* subnormal output */ else { o.parts32.mswhi = j; diff --git a/libc/tinymath/remainderf.c b/libc/tinymath/remainderf.c index 6f0608866..4bda0f33b 100644 --- a/libc/tinymath/remainderf.c +++ b/libc/tinymath/remainderf.c @@ -34,41 +34,41 @@ static const float zero = 0.0; float remainderf2(float x, float p) { - int32_t hx,hp; - uint32_t sx; - float p_half; + int32_t hx,hp; + uint32_t sx; + float p_half; - GET_FLOAT_WORD(hx,x); - GET_FLOAT_WORD(hp,p); - sx = hx&0x80000000; - hp &= 0x7fffffff; - hx &= 0x7fffffff; + GET_FLOAT_WORD(hx,x); + GET_FLOAT_WORD(hp,p); + sx = hx&0x80000000; + hp &= 0x7fffffff; + hx &= 0x7fffffff; - /* purge off exception values */ - if((hp==0)|| /* p = 0 */ - (hx>=0x7f800000)|| /* x not finite */ - ((hp>0x7f800000))) /* p is NaN */ - return nan_mix_op(x, p, *)/nan_mix_op(x, p, *); + /* purge off exception values */ + if((hp==0)|| /* p = 0 */ + (hx>=0x7f800000)|| /* x not finite */ + ((hp>0x7f800000))) /* p is NaN */ + return nan_mix_op(x, p, *)/nan_mix_op(x, p, *); - if (hp<=0x7effffff) x = fmodf(x,p+p); /* now x < 2p */ - if ((hx-hp)==0) return zero*x; - x = fabsf(x); - p = fabsf(p); - if (hp<0x01000000) { - if(x+x>p) { - x-=p; - if(x+x>=p) x -= p; - } - } else { - p_half = (float)0.5*p; - if(x>p_half) { - x-=p; - if(x>=p_half) x -= p; - } - } - GET_FLOAT_WORD(hx,x); - if ((hx&0x7fffffff)==0) hx = 0; - SET_FLOAT_WORD(x,hx^sx); - return x; + if (hp<=0x7effffff) x = fmodf(x,p+p); /* now x < 2p */ + if ((hx-hp)==0) return zero*x; + x = fabsf(x); + p = fabsf(p); + if (hp<0x01000000) { + if(x+x>p) { + x-=p; + if(x+x>=p) x -= p; + } + } else { + p_half = (float)0.5*p; + if(x>p_half) { + x-=p; + if(x>=p_half) x -= p; + } + } + GET_FLOAT_WORD(hx,x); + if ((hx&0x7fffffff)==0) hx = 0; + SET_FLOAT_WORD(x,hx^sx); + return x; } diff --git a/libc/tinymath/sincosf.c b/libc/tinymath/sincosf.c index 2ae61a7eb..67c1e2dce 100644 --- a/libc/tinymath/sincosf.c +++ b/libc/tinymath/sincosf.c @@ -52,14 +52,14 @@ sincosf (float y, float *sinp, float *cosp) double x2 = x * x; if (UNLIKELY (abstop12 (y) < abstop12 (0x1p-12f))) - { - if (UNLIKELY (abstop12 (y) < abstop12 (0x1p-126f))) - /* Force underflow for tiny y. */ - FORCE_EVAL (x2); - *sinp = y; - *cosp = 1.0f; - return; - } + { + if (UNLIKELY (abstop12 (y) < abstop12 (0x1p-126f))) + /* Force underflow for tiny y. */ + FORCE_EVAL (x2); + *sinp = y; + *cosp = 1.0f; + return; + } sincosf_poly (x, x2, p, 0, sinp, cosp); } @@ -71,7 +71,7 @@ sincosf (float y, float *sinp, float *cosp) s = p->sign[n & 3]; if (n & 2) - p = &__sincosf_table[1]; + p = &__sincosf_table[1]; sincosf_poly (x * s, x * x, p, n, sinp, cosp); } @@ -86,7 +86,7 @@ sincosf (float y, float *sinp, float *cosp) s = p->sign[(n + sign) & 3]; if ((n + sign) & 2) - p = &__sincosf_table[1]; + p = &__sincosf_table[1]; sincosf_poly (x * s, x * x, p, n, sinp, cosp); } @@ -96,8 +96,8 @@ sincosf (float y, float *sinp, float *cosp) *sinp = *cosp = y - y; #if WANT_ERRNO /* Needed to set errno for +-Inf, the add is a hack to work - around a gcc register allocation issue: just passing y - affects code generation in the fast path. */ + around a gcc register allocation issue: just passing y + affects code generation in the fast path. */ __math_invalidf (y + y); #endif } diff --git a/libc/tinymath/sincosf_data.c b/libc/tinymath/sincosf_data.c index 2b1d13a64..9b5c2df7d 100644 --- a/libc/tinymath/sincosf_data.c +++ b/libc/tinymath/sincosf_data.c @@ -77,7 +77,7 @@ const sincos_t __sincosf_table[2] = only 8 new bits are added per entry, making the table 4 times larger. */ const uint32_t __inv_pio4[24] = { - 0xa2, 0xa2f9, 0xa2f983, 0xa2f9836e, + 0xa2, 0xa2f9, 0xa2f983, 0xa2f9836e, 0xf9836e4e, 0x836e4e44, 0x6e4e4415, 0x4e441529, 0x441529fc, 0x1529fc27, 0x29fc2757, 0xfc2757d1, 0x2757d1f5, 0x57d1f534, 0xd1f534dd, 0xf534ddc0, diff --git a/libc/vga/BUILD.mk b/libc/vga/BUILD.mk index eb9d22f39..55c801065 100644 --- a/libc/vga/BUILD.mk +++ b/libc/vga/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += LIBC_VGA diff --git a/libc/x/BUILD.mk b/libc/x/BUILD.mk index 29f7a64f9..dc1de97a8 100644 --- a/libc/x/BUILD.mk +++ b/libc/x/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/net/BUILD.mk b/net/BUILD.mk index b9a269fc4..d5469a922 100644 --- a/net/BUILD.mk +++ b/net/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/net o/$(MODE)/net: o/$(MODE)/net/finger \ diff --git a/net/finger/BUILD.mk b/net/finger/BUILD.mk index 76fe4c531..fce253094 100644 --- a/net/finger/BUILD.mk +++ b/net/finger/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += NET_FINGER diff --git a/net/http/BUILD.mk b/net/http/BUILD.mk index 31676d142..8e0bb7686 100644 --- a/net/http/BUILD.mk +++ b/net/http/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += NET_HTTP diff --git a/net/http/kescapeauthority.c b/net/http/kescapeauthority.c index eb676853a..c83b7d273 100644 --- a/net/http/kescapeauthority.c +++ b/net/http/kescapeauthority.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DUL '_.!~*'"'"'();&=+$,-' -iskEscapeAuthority +// generated by: +// o//tool/build/xlat.com -DUL '_.!~*'"'"'();&=+$,-' -iskEscapeAuthority // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ␠ “# % / ! $ &‘()*+,-. 0x20 -// : < >⁇ 0123456789 ; = 0x30 -// @ ABCDEFGHIJKLMNO 0x40 -// [⭝]^ PQRSTUVWXYZ _ 0x50 -// ` abcdefghijklmno 0x60 -// {|} ⌂ pqrstuvwxyz ~ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ␠ “# % / ! $ &‘()*+,-. 0x20 +// : < >⁇ 0123456789 ; = 0x30 +// @ ABCDEFGHIJKLMNO 0x40 +// [⭝]^ PQRSTUVWXYZ _ 0x50 +// ` abcdefghijklmno 0x60 +// {|} ⌂ pqrstuvwxyz ~ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kEscapeAuthority[256] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 diff --git a/net/http/kescapefragment.c b/net/http/kescapefragment.c index ae86abb7a..94e74b31b 100644 --- a/net/http/kescapefragment.c +++ b/net/http/kescapefragment.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DUL '/?.~_@:!$&'"'"'()*+,;=-' -iskEscapeFragment +// generated by: +// o//tool/build/xlat.com -DUL '/?.~_@:!$&'"'"'()*+,;=-' -iskEscapeFragment // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ␠ “# % ! § &‘()*+,-./ 0x20 -// < > 0123456789:; = ⁇ 0x30 -// @ABCDEFGHIJKLMNO 0x40 -// [⭝]^ PQRSTUVWXYZ _ 0x50 -// ` abcdefghijklmno 0x60 -// {|} ⌂ pqrstuvwxyz ~ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ␠ “# % ! § &‘()*+,-./ 0x20 +// < > 0123456789:; = ⁇ 0x30 +// @ABCDEFGHIJKLMNO 0x40 +// [⭝]^ PQRSTUVWXYZ _ 0x50 +// ` abcdefghijklmno 0x60 +// {|} ⌂ pqrstuvwxyz ~ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kEscapeFragment[256] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 diff --git a/net/http/kescapeip.c b/net/http/kescapeip.c index 416161d49..6abe64a79 100644 --- a/net/http/kescapeip.c +++ b/net/http/kescapeip.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DUL '_-.!~*'"'"'();&=+$,:' -iskEscapeIp +// generated by: +// o//tool/build/xlat.com -DUL '_-.!~*'"'"'();&=+$,:' -iskEscapeIp // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ␠ “# % / ! § &‘()*+,-. 0x20 -// < >⁇ 0123456789:; = 0x30 -// @ ABCDEFGHIJKLMNO 0x40 -// [⭝]^ PQRSTUVWXYZ _ 0x50 -// ` abcdefghijklmno 0x60 -// {|} ⌂ pqrstuvwxyz ~ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ␠ “# % / ! § &‘()*+,-. 0x20 +// < >⁇ 0123456789:; = 0x30 +// @ ABCDEFGHIJKLMNO 0x40 +// [⭝]^ PQRSTUVWXYZ _ 0x50 +// ` abcdefghijklmno 0x60 +// {|} ⌂ pqrstuvwxyz ~ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kEscapeIp[256] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 diff --git a/net/http/kescapeparam.c b/net/http/kescapeparam.c index 7162fe424..b34b89f9a 100644 --- a/net/http/kescapeparam.c +++ b/net/http/kescapeparam.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DUL '.-*_' -iskEscapeParam +// generated by: +// o//tool/build/xlat.com -DUL '.-*_' -iskEscapeParam // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ␠!“#§%&‘() +, / * -. 0x20 -// :;<=>⁇ 0123456789 0x30 -// @ ABCDEFGHIJKLMNO 0x40 -// [⭝]^ PQRSTUVWXYZ _ 0x50 -// ` abcdefghijklmno 0x60 -// {|}~⌂ pqrstuvwxyz 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ␠!“#§%&‘() +, / * -. 0x20 +// :;<=>⁇ 0123456789 0x30 +// @ ABCDEFGHIJKLMNO 0x40 +// [⭝]^ PQRSTUVWXYZ _ 0x50 +// ` abcdefghijklmno 0x60 +// {|}~⌂ pqrstuvwxyz 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kEscapeParam[256] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 diff --git a/net/http/kescapepath.c b/net/http/kescapepath.c index 8e7813d81..2dcc30a64 100644 --- a/net/http/kescapepath.c +++ b/net/http/kescapepath.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DUL '.-~_@:!$&'"'"'()*+,;=/' -iskEscapePath +// generated by: +// o//tool/build/xlat.com -DUL '.-~_@:!$&'"'"'()*+,;=/' -iskEscapePath // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ␠ “# % ! § &‘()*+,-./ 0x20 -// < >⁇ 0123456789:; = 0x30 -// @ABCDEFGHIJKLMNO 0x40 -// [⭝]^ PQRSTUVWXYZ _ 0x50 -// ` abcdefghijklmno 0x60 -// {|} ⌂ pqrstuvwxyz ~ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ␠ “# % ! § &‘()*+,-./ 0x20 +// < >⁇ 0123456789:; = 0x30 +// @ABCDEFGHIJKLMNO 0x40 +// [⭝]^ PQRSTUVWXYZ _ 0x50 +// ` abcdefghijklmno 0x60 +// {|} ⌂ pqrstuvwxyz ~ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kEscapePath[256] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 diff --git a/net/http/kescapesegment.c b/net/http/kescapesegment.c index 0e235a565..08917c87b 100644 --- a/net/http/kescapesegment.c +++ b/net/http/kescapesegment.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DUL '.-~_@:!$&'"'"'()*+,;=' -iskEscapeSegment +// generated by: +// o//tool/build/xlat.com -DUL '.-~_@:!$&'"'"'()*+,;=' -iskEscapeSegment // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ␠ “# % / ! § &‘()*+,-. 0x20 -// < >⁇ 0123456789:; = 0x30 -// @ABCDEFGHIJKLMNO 0x40 -// [⭝]^ PQRSTUVWXYZ _ 0x50 -// ` abcdefghijklmno 0x60 -// {|} ⌂ pqrstuvwxyz ~ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ␠ “# % / ! § &‘()*+,-. 0x20 +// < >⁇ 0123456789:; = 0x30 +// @ABCDEFGHIJKLMNO 0x40 +// [⭝]^ PQRSTUVWXYZ _ 0x50 +// ` abcdefghijklmno 0x60 +// {|} ⌂ pqrstuvwxyz ~ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kEscapeSegment[256] = { 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, // 0x00 diff --git a/net/http/khostchars.c b/net/http/khostchars.c index d71dc0e95..76d09cff5 100644 --- a/net/http/khostchars.c +++ b/net/http/khostchars.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -DA _- -skHostChars +// generated by: +// o//tool/build/xlat.com -DA _- -skHostChars // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// - ␠!“#§%&‘()*+, ./ 0x20 -// 0123456789 :;<=>⁇ 0x30 -// ABCDEFGHIJKLMNO @ 0x40 -// PQRSTUVWXYZ _ [⭝]^ 0x50 -// abcdefghijklmno ` 0x60 -// pqrstuvwxyz {|}~⌂ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// - ␠!“#§%&‘()*+, ./ 0x20 +// 0123456789 :;<=>⁇ 0x30 +// ABCDEFGHIJKLMNO @ 0x40 +// PQRSTUVWXYZ _ [⭝]^ 0x50 +// abcdefghijklmno ` 0x60 +// pqrstuvwxyz {|}~⌂ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kHostChars[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x00 diff --git a/net/http/khttptoken.c b/net/http/khttptoken.c index 6ad129632..86240d792 100644 --- a/net/http/khttptoken.c +++ b/net/http/khttptoken.c @@ -18,27 +18,27 @@ ╚─────────────────────────────────────────────────────────────────────────────*/ #include "net/http/escape.h" -// generated by: -// o//tool/build/xlat.com -TiC ' ()<>@,;:\"/[]?={}' -iskHttpToken +// generated by: +// o//tool/build/xlat.com -TiC ' ()<>@,;:\"/[]?={}' -iskHttpToken // -// present absent -// ──────────────── ──────────────── -// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 -// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 -// ! #$%&‘ *+ -. ␠ “ () , / 0x20 -// 0123456789 :;<=>⁇ 0x30 -// ABCDEFGHIJKLMNO @ 0x40 -// PQRSTUVWXYZ ^_ [⭝] 0x50 -// `abcdefghijklmno 0x60 -// pqrstuvwxyz | ~ { } ⌂ 0x70 -// ÇüéâäàåçêëèïîìÄÅ 0x80 -// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 -// áíóúñѪº¿⌐¬½¼¡«» 0xa0 -// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 -// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 -// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 -// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 -// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 +// present absent +// ──────────────── ──────────────── +// ∅☺☻♥♦♣♠•◘○◙♂♀♪♫☼ 0x00 +// ►◄↕‼¶§▬↨↑↓→←∟↔▲▼ 0x10 +// ! #$%&‘ *+ -. ␠ “ () , / 0x20 +// 0123456789 :;<=>⁇ 0x30 +// ABCDEFGHIJKLMNO @ 0x40 +// PQRSTUVWXYZ ^_ [⭝] 0x50 +// `abcdefghijklmno 0x60 +// pqrstuvwxyz | ~ { } ⌂ 0x70 +// ÇüéâäàåçêëèïîìÄÅ 0x80 +// ÉæÆôöòûùÿÖÜ¢£¥€ƒ 0x90 +// áíóúñѪº¿⌐¬½¼¡«» 0xa0 +// ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐ 0xb0 +// └┴┬├─┼╞╟╚╔╩╦╠═╬╧ 0xc0 +// ╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ 0xd0 +// αßΓπΣσμτΦΘΩδ∞φε∩ 0xe0 +// ≡±≥≤⌠⌡÷≈°∙×√ⁿ²■λ 0xf0 const char kHttpToken[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0x00 @@ -59,14 +59,14 @@ const char kHttpToken[256] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 0xf0 }; -// @see RFC2616 -// CHAR = -// SP = -// HT = -// CTL = -// token = 1* -// separators = "(" | ")" | "<" | ">" | "@" -// | "," | ";" | ":" | "\" | <"> -// | "/" | "[" | "]" | "?" | "=" -// | "{" | "}" | SP | HT +// @see RFC2616 +// CHAR = +// SP = +// HT = +// CTL = +// token = 1* +// separators = "(" | ")" | "<" | ">" | "@" +// | "," | ";" | ":" | "\" | <"> +// | "/" | "[" | "]" | "?" | "=" +// | "{" | "}" | SP | HT diff --git a/net/https/BUILD.mk b/net/https/BUILD.mk index b7580b554..3ca626930 100644 --- a/net/https/BUILD.mk +++ b/net/https/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += NET_HTTPS diff --git a/net/turfwar/BUILD.mk b/net/turfwar/BUILD.mk index a2be8d6f4..8350502cd 100644 --- a/net/turfwar/BUILD.mk +++ b/net/turfwar/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += NET_TURFWAR diff --git a/test/BUILD.mk b/test/BUILD.mk index 6f8b2c710..60b42cb80 100644 --- a/test/BUILD.mk +++ b/test/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test o/$(MODE)/test: o/$(MODE)/test/dsp \ diff --git a/test/dsp/BUILD.mk b/test/dsp/BUILD.mk index 4ab377333..83e9366b6 100644 --- a/test/dsp/BUILD.mk +++ b/test/dsp/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test/dsp o/$(MODE)/test/dsp: o/$(MODE)/test/dsp/core \ diff --git a/test/dsp/core/BUILD.mk b/test/dsp/core/BUILD.mk index a095874c3..d3b063480 100644 --- a/test/dsp/core/BUILD.mk +++ b/test/dsp/core/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_DSP_CORE diff --git a/test/dsp/scale/BUILD.mk b/test/dsp/scale/BUILD.mk index 33da1c97a..5395a894f 100644 --- a/test/dsp/scale/BUILD.mk +++ b/test/dsp/scale/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_DSP_SCALE diff --git a/test/dsp/tty/BUILD.mk b/test/dsp/tty/BUILD.mk index 46b59c2ac..f2030ee21 100644 --- a/test/dsp/tty/BUILD.mk +++ b/test/dsp/tty/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_DSP_TTY diff --git a/test/libc/BUILD.mk b/test/libc/BUILD.mk index 9d4d7fd90..eaaa63716 100644 --- a/test/libc/BUILD.mk +++ b/test/libc/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test/libc o/$(MODE)/test/libc: \ diff --git a/test/libc/calls/BUILD.mk b/test/libc/calls/BUILD.mk index 700f1bd1f..9f2e6ea9c 100644 --- a/test/libc/calls/BUILD.mk +++ b/test/libc/calls/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_CALLS diff --git a/test/libc/dns/BUILD.mk b/test/libc/dns/BUILD.mk index 9a38f9d29..62c3114f3 100644 --- a/test/libc/dns/BUILD.mk +++ b/test/libc/dns/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_DNS diff --git a/test/libc/fmt/BUILD.mk b/test/libc/fmt/BUILD.mk index 1ccd813b9..0118c60b7 100644 --- a/test/libc/fmt/BUILD.mk +++ b/test/libc/fmt/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_FMT diff --git a/test/libc/intrin/BUILD.mk b/test/libc/intrin/BUILD.mk index 3c4cf3e6a..2ff713b43 100644 --- a/test/libc/intrin/BUILD.mk +++ b/test/libc/intrin/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_INTRIN diff --git a/test/libc/log/BUILD.mk b/test/libc/log/BUILD.mk index d90634f61..1c50379b4 100644 --- a/test/libc/log/BUILD.mk +++ b/test/libc/log/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_LOG diff --git a/test/libc/mem/BUILD.mk b/test/libc/mem/BUILD.mk index 76aef509f..7a746c041 100644 --- a/test/libc/mem/BUILD.mk +++ b/test/libc/mem/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_MEM diff --git a/test/libc/nexgen32e/BUILD.mk b/test/libc/nexgen32e/BUILD.mk index 3ec2804e8..e586271e6 100644 --- a/test/libc/nexgen32e/BUILD.mk +++ b/test/libc/nexgen32e/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_NEXGEN32E diff --git a/test/libc/proc/BUILD.mk b/test/libc/proc/BUILD.mk index ef3f0f34d..fb3aaa887 100644 --- a/test/libc/proc/BUILD.mk +++ b/test/libc/proc/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_PROC diff --git a/test/libc/release/BUILD.mk b/test/libc/release/BUILD.mk index 35a9a55b6..102bc233b 100644 --- a/test/libc/release/BUILD.mk +++ b/test/libc/release/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ ifneq ($(MODE), dbg) ifneq ($(MODE), asan) diff --git a/test/libc/runtime/BUILD.mk b/test/libc/runtime/BUILD.mk index 50e2ce1f2..230e5b173 100644 --- a/test/libc/runtime/BUILD.mk +++ b/test/libc/runtime/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_RUNTIME diff --git a/test/libc/runtime/mprotect_test.c b/test/libc/runtime/mprotect_test.c index 9e0a51d44..217208e1d 100644 --- a/test/libc/runtime/mprotect_test.c +++ b/test/libc/runtime/mprotect_test.c @@ -53,7 +53,7 @@ static const char kRet31337[] = { }; #elif defined(__aarch64__) static const uint32_t kRet31337[] = { - 0x528f4d20, // mov w0,#31337 + 0x528f4d20, // mov w0,#31337 0xd65f03c0, // ret }; #else diff --git a/test/libc/sock/BUILD.mk b/test/libc/sock/BUILD.mk index 37e9ab2de..b3013bba6 100644 --- a/test/libc/sock/BUILD.mk +++ b/test/libc/sock/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_SOCK diff --git a/test/libc/stdio/BUILD.mk b/test/libc/stdio/BUILD.mk index 2a6e8c844..82f346466 100644 --- a/test/libc/stdio/BUILD.mk +++ b/test/libc/stdio/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_STDIO diff --git a/test/libc/str/BUILD.mk b/test/libc/str/BUILD.mk index 4944da080..2d19ba9d6 100644 --- a/test/libc/str/BUILD.mk +++ b/test/libc/str/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_STR diff --git a/test/libc/thread/BUILD.mk b/test/libc/thread/BUILD.mk index 8f2558b7d..d40095c18 100644 --- a/test/libc/thread/BUILD.mk +++ b/test/libc/thread/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_THREAD diff --git a/test/libc/time/BUILD.mk b/test/libc/time/BUILD.mk index efaba12d2..3f7dc14d1 100644 --- a/test/libc/time/BUILD.mk +++ b/test/libc/time/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_TIME diff --git a/test/libc/tinymath/BUILD.mk b/test/libc/tinymath/BUILD.mk index 8a3dd9548..4424fed24 100644 --- a/test/libc/tinymath/BUILD.mk +++ b/test/libc/tinymath/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_TINYMATH diff --git a/test/libc/x/BUILD.mk b/test/libc/x/BUILD.mk index c0a765207..e7b09d819 100644 --- a/test/libc/x/BUILD.mk +++ b/test/libc/x/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_LIBC_X diff --git a/test/libc/xed/BUILD.mk b/test/libc/xed/BUILD.mk index 0b839c127..bb20c13db 100644 --- a/test/libc/xed/BUILD.mk +++ b/test/libc/xed/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ TEST_LIBC_XED_FILES := $(wildcard test/libc/xed/*) TEST_LIBC_XED_HDRS = $(filter %.h,$(TEST_LIBC_XED_FILES)) diff --git a/test/net/BUILD.mk b/test/net/BUILD.mk index 198ca3ec1..30fb2fa4b 100644 --- a/test/net/BUILD.mk +++ b/test/net/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test/net o/$(MODE)/test/net: o/$(MODE)/test/net/finger \ diff --git a/test/net/finger/BUILD.mk b/test/net/finger/BUILD.mk index 278ce6ef0..9688bbd35 100644 --- a/test/net/finger/BUILD.mk +++ b/test/net/finger/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_NET_FINGER diff --git a/test/net/http/BUILD.mk b/test/net/http/BUILD.mk index b50eb23e7..12ee44fb6 100644 --- a/test/net/http/BUILD.mk +++ b/test/net/http/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_NET_HTTP diff --git a/test/net/https/BUILD.mk b/test/net/https/BUILD.mk index e86be299e..ed6a38552 100644 --- a/test/net/https/BUILD.mk +++ b/test/net/https/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_NET_HTTPS diff --git a/test/posix/BUILD.mk b/test/posix/BUILD.mk index 1ea397b3b..42faaf7ef 100644 --- a/test/posix/BUILD.mk +++ b/test/posix/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_POSIX diff --git a/test/tool/BUILD.mk b/test/tool/BUILD.mk index 0c99687d2..4f7db441f 100644 --- a/test/tool/BUILD.mk +++ b/test/tool/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test/tool o/$(MODE)/test/tool: \ diff --git a/test/tool/args/BUILD.mk b/test/tool/args/BUILD.mk index 288e8e219..e0b0da345 100644 --- a/test/tool/args/BUILD.mk +++ b/test/tool/args/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_TOOL_ARGS diff --git a/test/tool/build/BUILD.mk b/test/tool/build/BUILD.mk index 4ab99903b..76da15912 100644 --- a/test/tool/build/BUILD.mk +++ b/test/tool/build/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test/tool/build o/$(MODE)/test/tool/build: \ diff --git a/test/tool/build/lib/BUILD.mk b/test/tool/build/lib/BUILD.mk index 67bc7ff1b..f3f987fe5 100644 --- a/test/tool/build/lib/BUILD.mk +++ b/test/tool/build/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_TOOL_BUILD_LIB diff --git a/test/tool/build/lib/asmdown_test.c b/test/tool/build/lib/asmdown_test.c index e89d033a7..0d3b2259f 100644 --- a/test/tool/build/lib/asmdown_test.c +++ b/test/tool/build/lib/asmdown_test.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:nil;c-basic-offset:2;tab-width:8;coding:utf-8 -*-│ -│ vi: set et ft=c ts=2 sts=2 sw=2 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=8 sts=2 sw=2 fenc=utf-8 :vi │ ╞══════════════════════════════════════════════════════════════════════════════╡ │ Copyright 2020 Justine Alexandra Roberts Tunney │ │ │ diff --git a/test/tool/net/BUILD.mk b/test/tool/net/BUILD.mk index 5ed445a87..704d4dc11 100644 --- a/test/tool/net/BUILD.mk +++ b/test/tool/net/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_TOOL_NET diff --git a/test/tool/plinko/BUILD.mk b/test/tool/plinko/BUILD.mk index 603e5f934..b1517b17d 100644 --- a/test/tool/plinko/BUILD.mk +++ b/test/tool/plinko/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ ifeq ($(ARCH), x86_64) diff --git a/test/tool/viz/BUILD.mk b/test/tool/viz/BUILD.mk index 73547c947..77f56dc81 100644 --- a/test/tool/viz/BUILD.mk +++ b/test/tool/viz/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/test/tool/viz o/$(MODE)/test/tool/viz: \ diff --git a/test/tool/viz/lib/BUILD.mk b/test/tool/viz/lib/BUILD.mk index 95e868e00..e9cad7540 100644 --- a/test/tool/viz/lib/BUILD.mk +++ b/test/tool/viz/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TEST_TOOL_VIZ_LIB diff --git a/third_party/BUILD.mk b/third_party/BUILD.mk index c584be02a..aad7c82e7 100644 --- a/third_party/BUILD.mk +++ b/third_party/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/third_party o/$(MODE)/third_party: \ diff --git a/third_party/aarch64/BUILD.mk b/third_party/aarch64/BUILD.mk index 142f7e156..7ed5ff404 100644 --- a/third_party/aarch64/BUILD.mk +++ b/third_party/aarch64/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_AARCH64 THIRD_PARTY_AARCH64_HDRS = $(filter %.h,$(THIRD_PARTY_AARCH64_FILES)) diff --git a/third_party/argon2/BUILD.mk b/third_party/argon2/BUILD.mk index a7baf7b6c..d36400fa7 100644 --- a/third_party/argon2/BUILD.mk +++ b/third_party/argon2/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_ARGON2 diff --git a/third_party/awk/BUILD.mk b/third_party/awk/BUILD.mk index df631dfd7..d51409c19 100644 --- a/third_party/awk/BUILD.mk +++ b/third_party/awk/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_AWK diff --git a/third_party/bash/BUILD.mk b/third_party/bash/BUILD.mk index 966bd3c5a..b5e7df1c6 100644 --- a/third_party/bash/BUILD.mk +++ b/third_party/bash/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:bashfile-gbash;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=bash ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=bash ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_BASH diff --git a/third_party/bzip2/BUILD.mk b/third_party/bzip2/BUILD.mk index f1da85f1e..40be9004a 100644 --- a/third_party/bzip2/BUILD.mk +++ b/third_party/bzip2/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_BZIP2 diff --git a/third_party/chibicc/BUILD.mk b/third_party/chibicc/BUILD.mk index 682c04919..e72ff7ec2 100644 --- a/third_party/chibicc/BUILD.mk +++ b/third_party/chibicc/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/third_party/chibicc/test/BUILD.mk b/third_party/chibicc/test/BUILD.mk index 1f3e9f220..3434e33ac 100644 --- a/third_party/chibicc/test/BUILD.mk +++ b/third_party/chibicc/test/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/third_party/compiler_rt/BUILD.mk b/third_party/compiler_rt/BUILD.mk index 54497bc6e..dc933ee62 100644 --- a/third_party/compiler_rt/BUILD.mk +++ b/third_party/compiler_rt/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_COMPILER_RT diff --git a/third_party/ctags/BUILD.mk b/third_party/ctags/BUILD.mk index 5c5a6d305..72f9f143f 100644 --- a/third_party/ctags/BUILD.mk +++ b/third_party/ctags/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_CTAGS diff --git a/third_party/dlmalloc/BUILD.mk b/third_party/dlmalloc/BUILD.mk index 24d6c4326..0a5ce8a35 100644 --- a/third_party/dlmalloc/BUILD.mk +++ b/third_party/dlmalloc/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_DLMALLOC diff --git a/third_party/double-conversion/BUILD.mk b/third_party/double-conversion/BUILD.mk index edd3f7cb4..ee524beaf 100644 --- a/third_party/double-conversion/BUILD.mk +++ b/third_party/double-conversion/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_DOUBLECONVERSION diff --git a/third_party/double-conversion/test/BUILD.mk b/third_party/double-conversion/test/BUILD.mk index ec3ff59f2..5678ef6dd 100644 --- a/third_party/double-conversion/test/BUILD.mk +++ b/third_party/double-conversion/test/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_DOUBLECONVERSION_TEST diff --git a/third_party/finger/BUILD.mk b/third_party/finger/BUILD.mk index e1b6c4403..3452c5fce 100644 --- a/third_party/finger/BUILD.mk +++ b/third_party/finger/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_FINGER diff --git a/third_party/gdtoa/BUILD.mk b/third_party/gdtoa/BUILD.mk index 7017e8bbd..1a5d804af 100644 --- a/third_party/gdtoa/BUILD.mk +++ b/third_party/gdtoa/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_GDTOA diff --git a/third_party/getopt/BUILD.mk b/third_party/getopt/BUILD.mk index 27e52e6da..7e6b1e0cb 100644 --- a/third_party/getopt/BUILD.mk +++ b/third_party/getopt/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_GETOPT diff --git a/third_party/hiredis/BUILD.mk b/third_party/hiredis/BUILD.mk index db92d0530..39342eb14 100644 --- a/third_party/hiredis/BUILD.mk +++ b/third_party/hiredis/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_HIREDIS diff --git a/third_party/intel/BUILD.mk b/third_party/intel/BUILD.mk index 730f0df06..fb82e1fbc 100644 --- a/third_party/intel/BUILD.mk +++ b/third_party/intel/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_INTEL THIRD_PARTY_INTEL_HDRS = $(filter %.h,$(THIRD_PARTY_INTEL_FILES)) diff --git a/third_party/less/BUILD.mk b/third_party/less/BUILD.mk index 22e32fa40..53a546ca4 100644 --- a/third_party/less/BUILD.mk +++ b/third_party/less/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:lessfile-gless;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=less ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=less ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_LESS diff --git a/third_party/libcxx/BUILD.mk b/third_party/libcxx/BUILD.mk index ad22f3c6b..d50c849dd 100644 --- a/third_party/libcxx/BUILD.mk +++ b/third_party/libcxx/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_LIBCXX diff --git a/third_party/linenoise/BUILD.mk b/third_party/linenoise/BUILD.mk index de49ea17f..70414264f 100644 --- a/third_party/linenoise/BUILD.mk +++ b/third_party/linenoise/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_LINENOISE diff --git a/third_party/lua/BUILD.mk b/third_party/lua/BUILD.mk index cc80b4a1e..60a73e960 100644 --- a/third_party/lua/BUILD.mk +++ b/third_party/lua/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_LUA diff --git a/third_party/lz4cli/BUILD.mk b/third_party/lz4cli/BUILD.mk index db5198b6f..b1e6daf70 100644 --- a/third_party/lz4cli/BUILD.mk +++ b/third_party/lz4cli/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # WARNING # diff --git a/third_party/make/BUILD.mk b/third_party/make/BUILD.mk index 0ab20ba03..2d0464f67 100644 --- a/third_party/make/BUILD.mk +++ b/third_party/make/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_MAKE diff --git a/third_party/maxmind/BUILD.mk b/third_party/maxmind/BUILD.mk index b3d5d146b..0dd86d655 100644 --- a/third_party/maxmind/BUILD.mk +++ b/third_party/maxmind/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_MAXMIND diff --git a/third_party/mbedtls/BUILD.mk b/third_party/mbedtls/BUILD.mk index a116cdf6d..c691ab373 100644 --- a/third_party/mbedtls/BUILD.mk +++ b/third_party/mbedtls/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_MBEDTLS diff --git a/third_party/mbedtls/test/BUILD.mk b/third_party/mbedtls/test/BUILD.mk index 94b78256d..b2eb2f95d 100644 --- a/third_party/mbedtls/test/BUILD.mk +++ b/third_party/mbedtls/test/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_MBEDTLS_TEST diff --git a/third_party/musl/BUILD.mk b/third_party/musl/BUILD.mk index 29a0abf73..6086b91f0 100644 --- a/third_party/musl/BUILD.mk +++ b/third_party/musl/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_MUSL diff --git a/third_party/musl/fnmatch.c b/third_party/musl/fnmatch.c index 2537ff408..ed04f5c21 100644 --- a/third_party/musl/fnmatch.c +++ b/third_party/musl/fnmatch.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=8 sw=8 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=8 sw=8 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ Musl Libc │ diff --git a/third_party/musl/glob.c b/third_party/musl/glob.c index 4cb9e47e7..c7156ccb3 100644 --- a/third_party/musl/glob.c +++ b/third_party/musl/glob.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=8 sw=8 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=8 sw=8 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ Musl Libc │ diff --git a/third_party/musl/grp.c b/third_party/musl/grp.c index 591fac239..7a788c7f0 100644 --- a/third_party/musl/grp.c +++ b/third_party/musl/grp.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=8 sw=8 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=8 sw=8 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ Musl Libc │ diff --git a/third_party/ncurses/BUILD.mk b/third_party/ncurses/BUILD.mk index 938f47a2e..e29dce6be 100644 --- a/third_party/ncurses/BUILD.mk +++ b/third_party/ncurses/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_NCURSES diff --git a/third_party/nsync/BUILD.mk b/third_party/nsync/BUILD.mk index 332a62b83..67d1752a8 100644 --- a/third_party/nsync/BUILD.mk +++ b/third_party/nsync/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_NSYNC diff --git a/third_party/nsync/mem/BUILD.mk b/third_party/nsync/mem/BUILD.mk index 37433afad..bc50768d6 100644 --- a/third_party/nsync/mem/BUILD.mk +++ b/third_party/nsync/mem/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_NSYNC_MEM diff --git a/third_party/nsync/testing/BUILD.mk b/third_party/nsync/testing/BUILD.mk index 68d2a4587..97c7cb4f8 100644 --- a/third_party/nsync/testing/BUILD.mk +++ b/third_party/nsync/testing/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_NSYNC_TESTING diff --git a/third_party/pcre/BUILD.mk b/third_party/pcre/BUILD.mk index 18fba771c..2c143c1df 100644 --- a/third_party/pcre/BUILD.mk +++ b/third_party/pcre/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_PCRE diff --git a/third_party/puff/BUILD.mk b/third_party/puff/BUILD.mk index 1c555dddb..791eea13a 100644 --- a/third_party/puff/BUILD.mk +++ b/third_party/puff/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_PUFF diff --git a/third_party/python/BUILD.mk b/third_party/python/BUILD.mk index d05e8bbf8..15625d3b1 100644 --- a/third_party/python/BUILD.mk +++ b/third_party/python/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_PYTHON diff --git a/third_party/qemu/BUILD.mk b/third_party/qemu/BUILD.mk index 8895f6722..bc60368ed 100644 --- a/third_party/qemu/BUILD.mk +++ b/third_party/qemu/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ o/third_party/qemu/qemu-aarch64: \ third_party/qemu/qemu-aarch64.gz diff --git a/third_party/quickjs/BUILD.mk b/third_party/quickjs/BUILD.mk index 79a5c34b2..845af3160 100644 --- a/third_party/quickjs/BUILD.mk +++ b/third_party/quickjs/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_QUICKJS diff --git a/third_party/readline/BUILD.mk b/third_party/readline/BUILD.mk index 2236bc2f9..8eb4d5992 100644 --- a/third_party/readline/BUILD.mk +++ b/third_party/readline/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_READLINE diff --git a/third_party/regex/BUILD.mk b/third_party/regex/BUILD.mk index 83af7be08..79b93315f 100644 --- a/third_party/regex/BUILD.mk +++ b/third_party/regex/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_REGEX diff --git a/third_party/sed/BUILD.mk b/third_party/sed/BUILD.mk index b73d91f57..3f74547d2 100644 --- a/third_party/sed/BUILD.mk +++ b/third_party/sed/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_SED diff --git a/third_party/smallz4/BUILD.mk b/third_party/smallz4/BUILD.mk index 3bd1d22e6..a99fb520b 100644 --- a/third_party/smallz4/BUILD.mk +++ b/third_party/smallz4/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_SMALLZ4 diff --git a/third_party/sqlite3/BUILD.mk b/third_party/sqlite3/BUILD.mk index 0847b8b70..234ee0599 100644 --- a/third_party/sqlite3/BUILD.mk +++ b/third_party/sqlite3/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # OVERVIEW # diff --git a/third_party/stb/BUILD.mk b/third_party/stb/BUILD.mk index 237f2f8d6..10e2c0920 100644 --- a/third_party/stb/BUILD.mk +++ b/third_party/stb/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_STB diff --git a/third_party/tidy/BUILD.mk b/third_party/tidy/BUILD.mk index 333b0ae42..7df2d9c1e 100644 --- a/third_party/tidy/BUILD.mk +++ b/third_party/tidy/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_TIDY diff --git a/third_party/tr/BUILD.mk b/third_party/tr/BUILD.mk index 42929bef4..f73c16980 100644 --- a/third_party/tr/BUILD.mk +++ b/third_party/tr/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_TR diff --git a/third_party/tree/BUILD.mk b/third_party/tree/BUILD.mk index c6883b84f..2357132e4 100644 --- a/third_party/tree/BUILD.mk +++ b/third_party/tree/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_TREE diff --git a/third_party/unzip/BUILD.mk b/third_party/unzip/BUILD.mk index 390a95cff..f39da5e6e 100644 --- a/third_party/unzip/BUILD.mk +++ b/third_party/unzip/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_UNZIP diff --git a/third_party/vqsort/BUILD.mk b/third_party/vqsort/BUILD.mk index e737a6c0d..3c6138373 100644 --- a/third_party/vqsort/BUILD.mk +++ b/third_party/vqsort/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_VQSORT diff --git a/third_party/xed/BUILD.mk b/third_party/xed/BUILD.mk index 467fc61fa..c801832fb 100644 --- a/third_party/xed/BUILD.mk +++ b/third_party/xed/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ # # SYNOPSIS # diff --git a/third_party/xxhash/BUILD.mk b/third_party/xxhash/BUILD.mk index 2198ca336..5d898b8fd 100644 --- a/third_party/xxhash/BUILD.mk +++ b/third_party/xxhash/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_XXHASH diff --git a/third_party/zip/BUILD.mk b/third_party/zip/BUILD.mk index b0c5ef54a..43dfc78e0 100644 --- a/third_party/zip/BUILD.mk +++ b/third_party/zip/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_ZIP diff --git a/third_party/zlib/BUILD.mk b/third_party/zlib/BUILD.mk index 559cd5bb6..fb6390bcf 100644 --- a/third_party/zlib/BUILD.mk +++ b/third_party/zlib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_ZLIB diff --git a/third_party/zlib/gz/BUILD.mk b/third_party/zlib/gz/BUILD.mk index 042673c36..092d41005 100644 --- a/third_party/zlib/gz/BUILD.mk +++ b/third_party/zlib/gz/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_ZLIB_GZ diff --git a/third_party/zstd/BUILD.mk b/third_party/zstd/BUILD.mk index 1a3ffc456..27edd513b 100644 --- a/third_party/zstd/BUILD.mk +++ b/third_party/zstd/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += THIRD_PARTY_ZSTD diff --git a/tool/BUILD.mk b/tool/BUILD.mk index 2a8e4a517..4c359e677 100644 --- a/tool/BUILD.mk +++ b/tool/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ .PHONY: o/$(MODE)/tool o/$(MODE)/tool: \ diff --git a/tool/args/BUILD.mk b/tool/args/BUILD.mk index 80ca998c1..40aca11cd 100644 --- a/tool/args/BUILD.mk +++ b/tool/args/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_ARGS diff --git a/tool/build/BUILD.mk b/tool/build/BUILD.mk index ffb80ffcf..de2d2a952 100644 --- a/tool/build/BUILD.mk +++ b/tool/build/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_BUILD diff --git a/tool/build/lib/BUILD.mk b/tool/build/lib/BUILD.mk index ee6ce6db9..611db5c6a 100644 --- a/tool/build/lib/BUILD.mk +++ b/tool/build/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_BUILD_LIB diff --git a/tool/curl/BUILD.mk b/tool/curl/BUILD.mk index 73cce0602..9caeb7cf2 100644 --- a/tool/curl/BUILD.mk +++ b/tool/curl/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_CURL diff --git a/tool/decode/BUILD.mk b/tool/decode/BUILD.mk index c19ca4ba0..f46635e26 100644 --- a/tool/decode/BUILD.mk +++ b/tool/decode/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_DECODE diff --git a/tool/decode/lib/BUILD.mk b/tool/decode/lib/BUILD.mk index 9c9603f59..0d2cee93a 100644 --- a/tool/decode/lib/BUILD.mk +++ b/tool/decode/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_DECODE_LIB diff --git a/tool/hello/BUILD.mk b/tool/hello/BUILD.mk index f2246dbf5..7e525bfb8 100644 --- a/tool/hello/BUILD.mk +++ b/tool/hello/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_HELLO diff --git a/tool/lambda/BUILD.mk b/tool/lambda/BUILD.mk index 1c8b26874..818a5048f 100644 --- a/tool/lambda/BUILD.mk +++ b/tool/lambda/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_LAMBDA diff --git a/tool/lambda/lib/BUILD.mk b/tool/lambda/lib/BUILD.mk index 637a16bc5..016b8c363 100644 --- a/tool/lambda/lib/BUILD.mk +++ b/tool/lambda/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_LAMBDA_LIB diff --git a/tool/net/BUILD.mk b/tool/net/BUILD.mk index 5f3af2ff5..20baafa7d 100644 --- a/tool/net/BUILD.mk +++ b/tool/net/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_NET diff --git a/tool/net/largon2.c b/tool/net/largon2.c index 19e8cf433..e4a6a5c6f 100644 --- a/tool/net/largon2.c +++ b/tool/net/largon2.c @@ -1,5 +1,5 @@ /*-*- mode:c;indent-tabs-mode:t;c-basic-offset:8;tab-width:8;coding:utf-8 -*-│ -│ vi: set noet ft=c ts=8 sw=8 fenc=utf-8 :vi │ +│ vi: set et ft=c ts=8 sw=8 fenc=utf-8 :vi │ ╚──────────────────────────────────────────────────────────────────────────────╝ │ │ │ largon2 │ diff --git a/tool/plinko/BUILD.mk b/tool/plinko/BUILD.mk index e67eba63c..a31dd0054 100644 --- a/tool/plinko/BUILD.mk +++ b/tool/plinko/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ ifeq ($(ARCH), x86_64) diff --git a/tool/plinko/lib/BUILD.mk b/tool/plinko/lib/BUILD.mk index 262ce1392..e684caa61 100644 --- a/tool/plinko/lib/BUILD.mk +++ b/tool/plinko/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ ifeq ($(ARCH), x86_64) diff --git a/tool/viz/BUILD.mk b/tool/viz/BUILD.mk index 1075b4d51..3cde05e98 100644 --- a/tool/viz/BUILD.mk +++ b/tool/viz/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_VIZ diff --git a/tool/viz/lib/BUILD.mk b/tool/viz/lib/BUILD.mk index d08d1a100..a26d88ed3 100644 --- a/tool/viz/lib/BUILD.mk +++ b/tool/viz/lib/BUILD.mk @@ -1,5 +1,5 @@ #-*-mode:makefile-gmake;indent-tabs-mode:t;tab-width:8;coding:utf-8-*-┐ -#── vi: set et ft=make ts=8 sw=8 fenc=utf-8 :vi ──────────────────────┘ +#── vi: set noet ft=make ts=8 sw=8 fenc=utf-8 :vi ────────────────────┘ PKGS += TOOL_VIZ_LIB