diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-01-01 18:47:32 +0200 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-01-01 18:47:32 +0200 |
commit | cb4e566359c24ffd17702a64a01a676fb6ca65a1 (patch) | |
tree | d31ecf85ee9daf3d4b0c9fee1a0f9c9b3875c0bd /main/musl/0021-fix-getopt_long_only-misinterpreting-as-an-option.patch | |
parent | 29a935222c0197307f2eb7da6d4e18d22341bb9d (diff) | |
download | aports-cb4e566359c24ffd17702a64a01a676fb6ca65a1.tar.bz2 aports-cb4e566359c24ffd17702a64a01a676fb6ca65a1.tar.xz |
main/musl: upgrade to 1.1.16
Diffstat (limited to 'main/musl/0021-fix-getopt_long_only-misinterpreting-as-an-option.patch')
-rw-r--r-- | main/musl/0021-fix-getopt_long_only-misinterpreting-as-an-option.patch | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/main/musl/0021-fix-getopt_long_only-misinterpreting-as-an-option.patch b/main/musl/0021-fix-getopt_long_only-misinterpreting-as-an-option.patch deleted file mode 100644 index bba3186cac..0000000000 --- a/main/musl/0021-fix-getopt_long_only-misinterpreting-as-an-option.patch +++ /dev/null @@ -1,25 +0,0 @@ -From b24f1d2520c87077cef21e085893e5f3c565a6df Mon Sep 17 00:00:00 2001 -From: Rich Felker <dalias@aerifal.cx> -Date: Thu, 20 Oct 2016 12:13:33 -0400 -Subject: [PATCH 21/25] fix getopt_long_only misinterpreting "--" as an option - ---- - src/misc/getopt_long.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/misc/getopt_long.c b/src/misc/getopt_long.c -index 480c001..c6e1462 100644 ---- a/src/misc/getopt_long.c -+++ b/src/misc/getopt_long.c -@@ -53,7 +53,7 @@ static int __getopt_long_core(int argc, char *const *argv, const char *optstring - { - optarg = 0; - if (longopts && argv[optind][0] == '-' && -- ((longonly && argv[optind][1]) || -+ ((longonly && argv[optind][1] && argv[optind][1] != '-') || - (argv[optind][1] == '-' && argv[optind][2]))) - { - int colon = optstring[optstring[0]=='+'||optstring[0]=='-']==':'; --- -2.10.1 - |