diff options
author | Russ Dill <Russ.Dill@asu.edu> | 2001-07-26 05:58:40 +0000 |
---|---|---|
committer | Russ Dill <Russ.Dill@asu.edu> | 2001-07-26 05:58:40 +0000 |
commit | 4db35647dd88d2a640396770ede7754e1200c395 (patch) | |
tree | 75e440465fe3152505c3b5202c3e87403877ff9a | |
parent | 2835efe3dad0a198dc31afa8e011bc3a9665baf4 (diff) | |
download | busybox-w32-4db35647dd88d2a640396770ede7754e1200c395.tar.gz busybox-w32-4db35647dd88d2a640396770ede7754e1200c395.tar.bz2 busybox-w32-4db35647dd88d2a640396770ede7754e1200c395.zip |
char renamed can never be negative on ARM (rp->renamed[i] != EMPTY)
-rw-r--r-- | ash.c | 6 | ||||
-rw-r--r-- | shell/ash.c | 6 |
2 files changed, 6 insertions, 6 deletions
@@ -6040,8 +6040,8 @@ static int histcmd(argc, argv) | |||
6040 | 6040 | ||
6041 | struct redirtab { | 6041 | struct redirtab { |
6042 | struct redirtab *next; | 6042 | struct redirtab *next; |
6043 | /* short renamed[10]; *//* Current ash support only 0-9 descriptors */ | 6043 | short renamed[10]; /* Current ash support only 0-9 descriptors */ |
6044 | char renamed[10]; | 6044 | /* char renamed[10]; */ /* char on arm (and others) can't be negative */ |
6045 | }; | 6045 | }; |
6046 | 6046 | ||
6047 | static struct redirtab *redirlist; | 6047 | static struct redirtab *redirlist; |
@@ -12916,7 +12916,7 @@ findvar(struct var **vpp, const char *name) | |||
12916 | /* | 12916 | /* |
12917 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> | 12917 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> |
12918 | * This file contains code for the times builtin. | 12918 | * This file contains code for the times builtin. |
12919 | * $Id: ash.c,v 1.12 2001/07/17 01:14:06 andersen Exp $ | 12919 | * $Id: ash.c,v 1.13 2001/07/26 05:58:40 russ Exp $ |
12920 | */ | 12920 | */ |
12921 | static int timescmd (int argc, char **argv) | 12921 | static int timescmd (int argc, char **argv) |
12922 | { | 12922 | { |
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) | |||
6040 | 6040 | ||
6041 | struct redirtab { | 6041 | struct redirtab { |
6042 | struct redirtab *next; | 6042 | struct redirtab *next; |
6043 | /* short renamed[10]; *//* Current ash support only 0-9 descriptors */ | 6043 | short renamed[10]; /* Current ash support only 0-9 descriptors */ |
6044 | char renamed[10]; | 6044 | /* char renamed[10]; */ /* char on arm (and others) can't be negative */ |
6045 | }; | 6045 | }; |
6046 | 6046 | ||
6047 | static struct redirtab *redirlist; | 6047 | static struct redirtab *redirlist; |
@@ -12916,7 +12916,7 @@ findvar(struct var **vpp, const char *name) | |||
12916 | /* | 12916 | /* |
12917 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> | 12917 | * Copyright (c) 1999 Herbert Xu <herbert@debian.org> |
12918 | * This file contains code for the times builtin. | 12918 | * This file contains code for the times builtin. |
12919 | * $Id: ash.c,v 1.12 2001/07/17 01:14:06 andersen Exp $ | 12919 | * $Id: ash.c,v 1.13 2001/07/26 05:58:40 russ Exp $ |
12920 | */ | 12920 | */ |
12921 | static int timescmd (int argc, char **argv) | 12921 | static int timescmd (int argc, char **argv) |
12922 | { | 12922 | { |