WIP: Correct all typos (#498)

This commit is contained in:
jared 2022-07-20 17:01:15 -04:00 committed by GitHub
parent 98254a7c1f
commit ed205e98a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
79 changed files with 162 additions and 162 deletions

View file

@ -5,7 +5,7 @@
#include "libc/str/str.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
/* TOOD(jart): DELETE */
/* TODO(jart): DELETE */
#define append(ARRAYLIST, ITEM) concat((ARRAYLIST), (ITEM), 1)

View file

@ -261,7 +261,7 @@ static int createHostInfo(struct NtIpAdapterAddresses *firstAdapter) {
continue;
}
/* Use max IFNAMSIZ-1 chars, leave the last char for eventual conficts */
/* Use max IFNAMSIZ-1 chars, leave the last char for eventual conflicts */
tprecode16to8(baseName, IFNAMSIZ - 1, aa->FriendlyName);
baseName[IFNAMSIZ - 2] = '\0';
/* Replace any space with a '_' */

View file

@ -50,7 +50,7 @@ ssize_t readlinkat(int dirfd, const char *path, char *buf, size_t bufsiz) {
bytes = efault();
} else if (weaken(__zipos_notat) &&
(bytes = __zipos_notat(dirfd, path)) == -1) {
STRACE("TOOD: zipos support for readlinkat");
STRACE("TODO: zipos support for readlinkat");
} else if (!IsWindows()) {
assert(bufsiz);
bytes = sys_readlinkat(dirfd, path, buf, bufsiz);

View file

@ -26,7 +26,7 @@
#include "libc/runtime/symbols.internal.h"
/**
* Attachs GDB temporarilly, to do something like print a variable.
* Attaches GDB temporarily, to do something like print a variable.
*/
privileged int(gdbexec)(const char *cmd) {
struct StackFrame *bp;

View file

@ -21,7 +21,7 @@
#include "libc/runtime/symbols.internal.h"
/**
* Returns name of funciton that called caller function.
* Returns name of function that called caller function.
*/
const char *GetCallerName(const struct StackFrame *bp) {
struct SymbolTable *st;

View file

@ -23,7 +23,7 @@
// Releases the chunk of memory pointed to by p, that had been
// previously allocated using malloc or a related routine such as
// realloc. It has no effect if p is null. If p was not malloced or
// already freed, free(p) will by default cuase the current program to
// already freed, free(p) will by default cause the current program to
// abort.
//
// @param rdi is allocation address, which may be NULL

View file

@ -27,8 +27,8 @@
#include "libc/runtime/runtime.h"
#include "libc/str/str.h"
/* TOOD: Why can't we change CR3? Could it really need PML5T? */
/* TOOD: Why does QEMU in UEFI mode take ten seconds to boot? */
/* TODO: Why can't we change CR3? Could it really need PML5T? */
/* TODO: Why does QEMU in UEFI mode take ten seconds to boot? */
struct EfiArgs {
char *Args[0x400 / sizeof(char *)];