misc: fix typos in various docs

Change-Id: I4a271e88c38ce0b8ad66b5789a0f30f7a3b756ad
This commit is contained in:
alkesh26 2019-03-07 12:58:06 +05:30
parent 9e72e604a6
commit 57aeedf077
4 changed files with 6 additions and 6 deletions

View file

@ -18,8 +18,8 @@ import (
// This is really an os package test but here for convenience.
func testSetEnv(t *testing.T) {
if runtime.GOOS == "windows" {
// Go uses SetEnvironmentVariable on windows. Howerver,
// C runtime takes a *copy* at process startup of thei
// Go uses SetEnvironmentVariable on windows. However,
// C runtime takes a *copy* at process startup of the
// OS environment, and stores it in environ/envp.
// It is this copy that getenv/putenv manipulate.
t.Logf("skipping test")

View file

@ -93,7 +93,7 @@ static void* thread1(void* arg __attribute__ ((unused))) {
fprintf(stderr, "sigaltstack disabled on return from Go\n");
ok = 0;
} else if (nss.ss_sp != ss.ss_sp) {
fprintf(stderr, "sigalstack changed on return from Go\n");
fprintf(stderr, "sigaltstack changed on return from Go\n");
ok = 0;
}
@ -150,7 +150,7 @@ static void* thread2(void* arg __attribute__ ((unused))) {
fprintf(stderr, "sigaltstack disabled on return from Go\n");
ok = 0;
} else if (nss.ss_sp != ss.ss_sp) {
fprintf(stderr, "sigalstack changed on return from Go\n");
fprintf(stderr, "sigaltstack changed on return from Go\n");
ok = 0;
}

View file

@ -85,7 +85,7 @@ int main(int argc, char** argv) {
printf("write(2) unexpectedly succeeded\n");
return 0;
}
printf("did not receieve SIGPIPE\n");
printf("did not receive SIGPIPE\n");
return 0;
}
default:

View file

@ -1,6 +1,6 @@
# This file maps Internet media types to unique file extension(s).
# Although created for httpd, this file is used by many software systems
# and has been placed in the public domain for unlimited redisribution.
# and has been placed in the public domain for unlimited redistribution.
#
# The table below contains both registered and (common) unregistered types.
# A type that has no unique extension can be ignored -- they are listed