projects
/
openwrt
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
toolchain: refresh uClibc patches
[openwrt/openwrt.git]
/
toolchain
/
uClibc
/
patches-0.9.33.2
/
010-backport_sscanf_alloc.patch
diff --git
a/toolchain/uClibc/patches-0.9.33.2/010-backport_sscanf_alloc.patch
b/toolchain/uClibc/patches-0.9.33.2/010-backport_sscanf_alloc.patch
index f5f3cc4d4e9493035ec76bfe023e8f3d98003da4..b5ce09126444a9f4b78f2894da2d18d17b8a434c 100644
(file)
--- a/
toolchain/uClibc/patches-0.9.33.2/010-backport_sscanf_alloc.patch
+++ b/
toolchain/uClibc/patches-0.9.33.2/010-backport_sscanf_alloc.patch
@@
-28,7
+28,7
@@
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
-@@ -159
7,19 +1597
,6 @@ config UCLIBC_PRINTF_SCANF_POSITIONAL_AR
+@@ -159
0,19 +1590
,6 @@ config UCLIBC_PRINTF_SCANF_POSITIONAL_AR
Most people will answer 9.
Most people will answer 9.
@@
-130,7
+130,7
@@
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
for (p = spec_ranges; p_m_spec_chars > *p ; ++p) {}
if (((psfs->dataargtype >> 8) | psfs->flags)
for (p = spec_ranges; p_m_spec_chars > *p ; ++p) {}
if (((psfs->dataargtype >> 8) | psfs->flags)
-@@ -1265,12 +1258,6 @@ int VFSCANF (FILE *__restrict fp, const
+@@ -1265,12 +1258,6 @@ int VFSCANF (FILE *__restrict fp, const
while (*wf && __isascii(*wf) && (b < buf + sizeof(buf) - 1)) {
*b++ = *wf++;
}
while (*wf && __isascii(*wf) && (b < buf + sizeof(buf) - 1)) {
*b++ = *wf++;
}
@@
-143,7
+143,7
@@
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
*b = 0;
if (b == buf) { /* Bad conversion specifier! */
goto DONE;
*b = 0;
if (b == buf) { /* Bad conversion specifier! */
goto DONE;
-@@ -1390,13 +1377,36 @@ int VFSCANF (FILE *__restrict fp, const
+@@ -1390,13 +1377,36 @@ int VFSCANF (FILE *__restrict fp, const
}
if (psfs.conv_num == CONV_s) {
}
if (psfs.conv_num == CONV_s) {