aboutsummaryrefslogtreecommitdiffstats
path: root/package/busybox/patches/930-stty_bug_fix.patch
diff options
context:
space:
mode:
authorMike Baker <mbm@openwrt.org>2007-05-10 08:01:55 +0000
committerMike Baker <mbm@openwrt.org>2007-05-10 08:01:55 +0000
commit2bb4aa3e90c0c4e96e06b7615ee761ab0ddc85e9 (patch)
tree1f50b466d90a4fbe4d8c5636ad8ce5da99ca0b88 /package/busybox/patches/930-stty_bug_fix.patch
parent324c12d220e179e60ea141b42b422b91a184856c (diff)
downloadupstream-2bb4aa3e90c0c4e96e06b7615ee761ab0ddc85e9.tar.gz
upstream-2bb4aa3e90c0c4e96e06b7615ee761ab0ddc85e9.tar.bz2
upstream-2bb4aa3e90c0c4e96e06b7615ee761ab0ddc85e9.zip
update to busybox 1.4.2 (fixes #1653)
SVN-Revision: 7157
Diffstat (limited to 'package/busybox/patches/930-stty_bug_fix.patch')
-rw-r--r--package/busybox/patches/930-stty_bug_fix.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/package/busybox/patches/930-stty_bug_fix.patch b/package/busybox/patches/930-stty_bug_fix.patch
deleted file mode 100644
index 64c87174d6..0000000000
--- a/package/busybox/patches/930-stty_bug_fix.patch
+++ /dev/null
@@ -1,26 +0,0 @@
---- busybox-1.4.1/coreutils/stty.c.old 2007-03-13 12:59:49.000000000 +0100
-+++ busybox-1.4.1/coreutils/stty.c 2007-03-13 07:51:38.000000000 +0100
-@@ -568,10 +568,11 @@
- NULL
- };
- int i = index_in_str_array(params, name);
-- if (i) {
-- if (!(i == 4 || i == 5))
-- i |= 0x80;
-- }
-+ if (i < 0)
-+ return 0;
-+ if (!(i == 4 || i == 5))
-+ i |= 0x80;
-+
- return i;
- }
-
-@@ -907,6 +908,7 @@
- #define STTY_verbose_output (1<<2)
- #define STTY_recoverable_output (1<<3)
- #define STTY_noargs (1<<4)
-+int stty_main(int argc, char **argv);
- int stty_main(int argc, char **argv)
- {
- struct termios mode;