aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorGravatar Russ Dill <Russ.Dill@asu.edu>2001-07-26 05:58:40 +0000
committerGravatar Russ Dill <Russ.Dill@asu.edu>2001-07-26 05:58:40 +0000
commit4db35647dd88d2a640396770ede7754e1200c395 (patch)
tree75e440465fe3152505c3b5202c3e87403877ff9a /shell
parent2835efe3dad0a198dc31afa8e011bc3a9665baf4 (diff)
downloadbusybox-4db35647dd88d2a640396770ede7754e1200c395.tar.gz
busybox-4db35647dd88d2a640396770ede7754e1200c395.tar.bz2
char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/shell/ash.c b/shell/ash.c
index abacbf20c..bb5bf3601 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -6040,8 +6040,8 @@ static int histcmd(argc, argv)
struct redirtab {
struct redirtab *next;
- /* short renamed[10]; *//* Current ash support only 0-9 descriptors */
- char renamed[10];
+ short renamed[10]; /* Current ash support only 0-9 descriptors */
+ /* char renamed[10]; */ /* char on arm (and others) can't be negative */
};
static struct redirtab *redirlist;
@@ -12916,7 +12916,7 @@ findvar(struct var **vpp, const char *name)
/*
* Copyright (c) 1999 Herbert Xu <herbert@debian.org>
* This file contains code for the times builtin.
- * $Id: ash.c,v 1.12 2001/07/17 01:14:06 andersen Exp $
+ * $Id: ash.c,v 1.13 2001/07/26 05:58:40 russ Exp $
*/
static int timescmd (int argc, char **argv)
{