From 2e8c20e862bef09561965b99fa980b556a88c68d Mon Sep 17 00:00:00 2001
From: russ <russ@69ca8d6d-28ef-0310-b511-8ec308f3f277>
Date: Thu, 26 Jul 2001 05:58:40 +0000
Subject: char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)

git-svn-id: svn://busybox.net/trunk/busybox@3147 69ca8d6d-28ef-0310-b511-8ec308f3f277
---
 shell/ash.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'shell')

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)
 {
-- 
cgit v1.2.3-55-g6feb