summaryrefslogtreecommitdiff
path: root/shell/lash.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /shell/lash.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.bz2
busybox-w32-c7bda1ce659294d6e22c06e087f6f265983c7578.zip
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'shell/lash.c')
-rw-r--r--shell/lash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/lash.c b/shell/lash.c
index e4b1b129f..d2d4298fb 100644
--- a/shell/lash.c
+++ b/shell/lash.c
@@ -2,7 +2,7 @@
2/* 2/*
3 * lash -- the BusyBox Lame-Ass SHell 3 * lash -- the BusyBox Lame-Ass SHell
4 * 4 *
5 * Copyright (C) 1999-2003 by Erik Andersen <andersen@codepoet.org> 5 * Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
6 * 6 *
7 * Based in part on ladsh.c by Michael K. Johnson and Erik W. Troan, which is 7 * Based in part on ladsh.c by Michael K. Johnson and Erik W. Troan, which is
8 * under the following liberal license: "We have placed this source code in the 8 * under the following liberal license: "We have placed this source code in the
@@ -927,7 +927,7 @@ static int expand_arguments(char *command)
927 927
928 } 928 }
929 if (var) { 929 if (var) {
930 /* a single character construction was found, and 930 /* a single character construction was found, and
931 * already handled in the case statement */ 931 * already handled in the case statement */
932 src=dst+2; 932 src=dst+2;
933 } else { 933 } else {
@@ -1093,7 +1093,7 @@ static int parse_command(char **command_ptr, struct job *job, int *inbg)
1093 1093
1094 prog->redirects[i].fd = -1; 1094 prog->redirects[i].fd = -1;
1095 if (buf != prog->argv[argc_l]) { 1095 if (buf != prog->argv[argc_l]) {
1096 /* the stuff before this character may be the file number 1096 /* the stuff before this character may be the file number
1097 being redirected */ 1097 being redirected */
1098 prog->redirects[i].fd = 1098 prog->redirects[i].fd =
1099 strtol(prog->argv[argc_l], &chptr, 10); 1099 strtol(prog->argv[argc_l], &chptr, 10);