summaryrefslogtreecommitdiffstats
path: root/bin/csh/csh.c
diff options
context:
space:
mode:
authortodd <todd@openbsd.org>2002-06-09 05:47:26 +0000
committertodd <todd@openbsd.org>2002-06-09 05:47:26 +0000
commit885e28c6538a0dc270b47dfbb7612dd8ee491ad5 (patch)
tree64cf8431b37f0d13fd9ab4fe83afe47290a5baeb /bin/csh/csh.c
parentFix the start time on sysctl kvm. (diff)
downloadwireguard-openbsd-885e28c6538a0dc270b47dfbb7612dd8ee491ad5.tar.xz
wireguard-openbsd-885e28c6538a0dc270b47dfbb7612dd8ee491ad5.zip
knf
Diffstat (limited to 'bin/csh/csh.c')
-rw-r--r--bin/csh/csh.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/bin/csh/csh.c b/bin/csh/csh.c
index 1f3f230f8e1..d0149a8f48f 100644
--- a/bin/csh/csh.c
+++ b/bin/csh/csh.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: csh.c,v 1.17 2002/06/09 05:03:59 deraadt Exp $ */
+/* $OpenBSD: csh.c,v 1.18 2002/06/09 05:47:27 todd Exp $ */
/* $NetBSD: csh.c,v 1.14 1995/04/29 23:21:28 mycroft Exp $ */
/*-
@@ -44,7 +44,7 @@ static char copyright[] =
#if 0
static char sccsid[] = "@(#)csh.c 8.2 (Berkeley) 10/12/93";
#else
-static char rcsid[] = "$OpenBSD: csh.c,v 1.17 2002/06/09 05:03:59 deraadt Exp $";
+static char rcsid[] = "$OpenBSD: csh.c,v 1.18 2002/06/09 05:47:27 todd Exp $";
#endif
#endif /* not lint */
@@ -817,7 +817,7 @@ rechist()
}
if ((fp = open(short2str(hfile), O_WRONLY | O_CREAT | O_TRUNC,
- 0600)) == -1)
+ 0600)) == -1)
return;
oldidfds = didfds;
@@ -883,14 +883,14 @@ int sig;
/*
* We kill the last foreground process group. It then becomes
- * responsible to propagate the SIGHUP to its progeny.
+ * responsible to propagate the SIGHUP to its progeny.
*/
{
struct process *pp, *np;
for (pp = proclist.p_next; pp; pp = pp->p_next) {
np = pp;
- /*
+ /*
* Find if this job is in the foreground. It could be that
* the process leader has exited and the foreground flag
* is cleared for it.
@@ -898,7 +898,7 @@ int sig;
do
/*
* If a process is in the foreground; we try to kill
- * it's process group. If we succeed, then the
+ * it's process group. If we succeed, then the
* whole job is gone. Otherwise we keep going...
* But avoid sending HUP to the shell again.
*/
@@ -1288,9 +1288,9 @@ vis_fputc(ch, fp)
{
char uenc[5]; /* 4 + NUL */
- if (ch & QUOTE)
+ if (ch & QUOTE)
return fputc(ch & TRIM, fp);
- /*
+ /*
* XXX: When we are in AsciiOnly we want all characters >= 0200 to
* be encoded, but currently there is no way in vis to do that.
*/