From 4db35647dd88d2a640396770ede7754e1200c395 Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Thu, 26 Jul 2001 05:58:40 +0000 Subject: [PATCH] char renamed can never be negative on ARM (rp->renamed[i] != EMPTY) --- ash.c | 6 +++--- shell/ash.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/ash.c b/ash.c index abacbf20c..bb5bf3601 100644 --- a/ash.c +++ b/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 * 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) { 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 * 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) { -- 2.25.1