aboutsummaryrefslogtreecommitdiffstats
path: root/toolchain/glibc/patches/100-fix_cross_rpcgen.patch
diff options
context:
space:
mode:
authorHans Dedecker <dedeckeh@gmail.com>2018-06-11 17:53:56 +0200
committerHans Dedecker <dedeckeh@gmail.com>2018-06-11 18:07:47 +0200
commitc22117a7910b26ca095e7c58931904f2a9c2080f (patch)
tree227da6a8d66b4285b6613d2bcd924cc755c21860 /toolchain/glibc/patches/100-fix_cross_rpcgen.patch
parent31f35be016528eee1273f182055eb3168cd9946d (diff)
downloadupstream-c22117a7910b26ca095e7c58931904f2a9c2080f.tar.gz
upstream-c22117a7910b26ca095e7c58931904f2a9c2080f.tar.bz2
upstream-c22117a7910b26ca095e7c58931904f2a9c2080f.zip
toolchain/glibc: update to latest 2.26 commit
7b52c8ae05 libio: Avoid _allocate_buffer, _free_buffer function pointers [BZ #23236] Refresh patches Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
Diffstat (limited to 'toolchain/glibc/patches/100-fix_cross_rpcgen.patch')
-rw-r--r--toolchain/glibc/patches/100-fix_cross_rpcgen.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/glibc/patches/100-fix_cross_rpcgen.patch b/toolchain/glibc/patches/100-fix_cross_rpcgen.patch
index 6a5e537b77..f10efcc5d6 100644
--- a/toolchain/glibc/patches/100-fix_cross_rpcgen.patch
+++ b/toolchain/glibc/patches/100-fix_cross_rpcgen.patch
@@ -38,7 +38,7 @@
+++ b/sunrpc/rpc_main.c
@@ -958,9 +958,10 @@ mkfile_output (struct commandline *cmd)
abort ();
- temp = rindex (cmd->infile, '.');
+ temp = strrchr (cmd->infile, '.');
cp = stpcpy (mkfilename, "Makefile.");
- if (temp != NULL)
- *((char *) stpncpy (cp, cmd->infile, temp - cmd->infile)) = '\0';