Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/bin/sh Whitespace fixes. No functional change.
details: https://anonhg.NetBSD.org/src/rev/22a3db800410
branches: trunk
changeset: 345115:22a3db800410
user: kre <kre%NetBSD.org@localhost>
date: Sun May 08 03:51:15 2016 +0000
description:
Whitespace fixes. No functional change.
diffstat:
bin/sh/redir.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r 7d7b85c8de7b -r 22a3db800410 bin/sh/redir.c
--- a/bin/sh/redir.c Sun May 08 03:11:33 2016 +0000
+++ b/bin/sh/redir.c Sun May 08 03:51:15 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: redir.c,v 1.43 2016/05/02 01:46:31 christos Exp $ */
+/* $NetBSD: redir.c,v 1.44 2016/05/08 03:51:15 kre Exp $ */
/*-
* Copyright (c) 1991, 1993
@@ -37,7 +37,7 @@
#if 0
static char sccsid[] = "@(#)redir.c 8.2 (Berkeley) 5/4/95";
#else
-__RCSID("$NetBSD: redir.c,v 1.43 2016/05/02 01:46:31 christos Exp $");
+__RCSID("$NetBSD: redir.c,v 1.44 2016/05/08 03:51:15 kre Exp $");
#endif
#endif /* not lint */
@@ -67,7 +67,7 @@
#define EMPTY -2 /* marks an unused slot in redirtab */
-#define CLOSED -1 /* fd was not open before redir */
+#define CLOSED -1 /* fd was not open before redir */
#ifndef PIPE_BUF
# define PIPESIZE 4096 /* amount of buffering in a pipe */
#else
@@ -222,8 +222,8 @@
} else {
close(fd);
}
- if (fd == 0)
- fd0_redirected++;
+ if (fd == 0)
+ fd0_redirected++;
openredirect(n, memory, flags);
}
if (memory[1])
@@ -417,7 +417,7 @@
int
fd0_redirected_p(void)
{
- return fd0_redirected != 0;
+ return fd0_redirected != 0;
}
/*
Home |
Main Index |
Thread Index |
Old Index