summaryrefslogtreecommitdiff
path: root/pith/osdep
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2020-01-15 21:41:39 -0700
committerEduardo Chappa <chappa@washington.edu>2020-01-15 21:41:39 -0700
commit06c6ab430b223f6923fe74a4b8d11f3e626848a8 (patch)
tree2b483acf3ec2da573992c20b766a480e22f4c45a /pith/osdep
parent9822842646bc2b940d4b98a260ee4e3ac26fce57 (diff)
downloadalpine-06c6ab430b223f6923fe74a4b8d11f3e626848a8.tar.xz
* Fix a number of misspellings in the source code of Alpine. I hav only
fixed those that belong to the source code of Alpine and do not come from an external source. List contributed by Jens Schleusener.
Diffstat (limited to 'pith/osdep')
-rw-r--r--pith/osdep/pipe.c2
-rw-r--r--pith/osdep/pipe.h2
-rw-r--r--pith/osdep/pw_stuff.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/pith/osdep/pipe.c b/pith/osdep/pipe.c
index 25adc22f..13c5b6c7 100644
--- a/pith/osdep/pipe.c
+++ b/pith/osdep/pipe.c
@@ -89,7 +89,7 @@ RETSIGTYPE pipe_alarm(int);
stdout/stderr. *NOTE* Having neither of the above set means
we're not setting up any pipes, just forking the child and exec'ing
the command. Also, this takes precedence over any named outfile.
- PIPE_STDERR means we're to tie the childs stderr to the same place
+ PIPE_STDERR means we're to tie the child's stderr to the same place
stdout is going. *NOTE* This only makes sense then if PIPE_READ
or an outfile is provided. Also, this takes precedence over any
named errfile.
diff --git a/pith/osdep/pipe.h b/pith/osdep/pipe.h
index 35e7d215..a7992758 100644
--- a/pith/osdep/pipe.h
+++ b/pith/osdep/pipe.h
@@ -72,7 +72,7 @@
#define OSB_POST_CLOSE 0x0008
/*
- * stucture required for the pipe commands...
+ * structure required for the pipe commands...
*/
typedef struct pipe_s {
pid_t pid; /* child's process id */
diff --git a/pith/osdep/pw_stuff.c b/pith/osdep/pw_stuff.c
index c5a8580d..8938f77c 100644
--- a/pith/osdep/pw_stuff.c
+++ b/pith/osdep/pw_stuff.c
@@ -35,7 +35,7 @@ static char *gcos_name(char *, char *);
Pull the name out of the gcos field if we have that sort of /etc/passwd
Args: gcos_field -- The long name or GCOS field to be parsed
- logname -- Replaces occurances of & with logname string
+ logname -- Replaces occurences of & with logname string
Result: returns pointer to buffer with name
----*/