diff options
author | Felix Fietkau <nbd@openwrt.org> | 2015-09-02 15:44:17 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2015-09-02 15:44:17 +0000 |
commit | 58ab3ad6b0f2cd1e302011e492832673f017ed08 (patch) | |
tree | 8db648d8e2d2a924f19168fad5fc8250508d83d6 /toolchain/musl/patches/002-fix-getsubopt.patch | |
parent | 3d1890053c68ea22c2b4532d2e839638261de8be (diff) | |
download | upstream-58ab3ad6b0f2cd1e302011e492832673f017ed08.tar.gz upstream-58ab3ad6b0f2cd1e302011e492832673f017ed08.tar.bz2 upstream-58ab3ad6b0f2cd1e302011e492832673f017ed08.zip |
musl: update to version 1.1.11
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 46772
Diffstat (limited to 'toolchain/musl/patches/002-fix-getsubopt.patch')
-rw-r--r-- | toolchain/musl/patches/002-fix-getsubopt.patch | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/toolchain/musl/patches/002-fix-getsubopt.patch b/toolchain/musl/patches/002-fix-getsubopt.patch deleted file mode 100644 index 2fcd5f1822..0000000000 --- a/toolchain/musl/patches/002-fix-getsubopt.patch +++ /dev/null @@ -1,29 +0,0 @@ -From 2a502f995d041977f43f05556a3beba64df69858 Mon Sep 17 00:00:00 2001 -From: Steven Barth <cyrus@openwrt.org> -Date: Tue, 18 Aug 2015 11:03:45 +0200 -Subject: [PATCH] getsubopt: don't include leading = in value string - -getsubopt incorrectly returns the delimiting = in the value string, -this patch fixes it by increasing the pointer position by one. - -Signed-off-by: Steven Barth <cyrus@openwrt.org> ---- - src/misc/getsubopt.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/misc/getsubopt.c b/src/misc/getsubopt.c -index dac9bf9..53ee957 100644 ---- a/src/misc/getsubopt.c -+++ b/src/misc/getsubopt.c -@@ -15,7 +15,7 @@ int getsubopt(char **opt, char *const *keys, char **val) - size_t l = strlen(keys[i]); - if (strncmp(keys[i], s, l)) continue; - if (s[l] == '=') -- *val = s + l; -+ *val = s + l + 1; - else if (s[l]) continue; - return i; - } --- -2.1.4 - |