diff options
Diffstat (limited to 'meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fix-host-variable.patch')
-rw-r--r-- | meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fix-host-variable.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fix-host-variable.patch b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fix-host-variable.patch new file mode 100644 index 000000000..1d3631d47 --- /dev/null +++ b/meta-networking/recipes-netkit/netkit-rsh/netkit-rsh/fix-host-variable.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | fix host variable when rsh is renamed to other. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | |||
5 | If rsh is renamed to other, like rsh.netkit, host variable is assigned to | ||
6 | rsh.netkit, which is wrong. | ||
7 | |||
8 | Signed-off-by: Roy.Li <rongqing.li@windriver.com> | ||
9 | --- | ||
10 | rsh/rsh.c | 1 - | ||
11 | 1 files changed, 0 insertions(+), 1 deletions(-) | ||
12 | |||
13 | diff --git a/rsh/rsh.c b/rsh/rsh.c | ||
14 | index ac594f9..11f533e 100644 | ||
15 | --- a/rsh/rsh.c | ||
16 | +++ b/rsh/rsh.c | ||
17 | @@ -100,7 +100,6 @@ main(int argc, char *argv[]) | ||
18 | #else | ||
19 | if (!strcmp(p, "rsh")) asrsh = 1; | ||
20 | #endif | ||
21 | - else host = p; | ||
22 | |||
23 | /* handle "rsh host flags" */ | ||
24 | if (!host && argc > 2 && argv[1][0] != '-') { | ||
25 | -- | ||
26 | 1.7.5.4 | ||
27 | |||