diff options
author | Hans Dedecker <dedeckeh@gmail.com> | 2020-10-25 18:55:24 +0100 |
---|---|---|
committer | Hans Dedecker <dedeckeh@gmail.com> | 2020-11-07 20:46:39 +0100 |
commit | 93adba459794c0bb32373ab5504992199b5c5314 (patch) | |
tree | 5f7a9d3bddc074d3aa2527219b92c877d70331ed /toolchain/glibc/patches/100-fix_cross_rpcgen.patch | |
parent | 9867d08e078ed3052a39c271cb4435e6108bf855 (diff) | |
download | upstream-93adba459794c0bb32373ab5504992199b5c5314.tar.gz upstream-93adba459794c0bb32373ab5504992199b5c5314.tar.bz2 upstream-93adba459794c0bb32373ab5504992199b5c5314.zip |
glibc: update to latest stable version 2.32
refresh patches :
050-Revert-Disallow-use-of-DES-encryption-functions-in-n.patch
00-fix_cross_rpcgen.patch
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.patch | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/toolchain/glibc/patches/100-fix_cross_rpcgen.patch b/toolchain/glibc/patches/100-fix_cross_rpcgen.patch index f10efcc5d6..6ee1e80424 100644 --- a/toolchain/glibc/patches/100-fix_cross_rpcgen.patch +++ b/toolchain/glibc/patches/100-fix_cross_rpcgen.patch @@ -33,20 +33,3 @@ +typedef char *caddr_t; # define __daddr_t_defined #endif - ---- a/sunrpc/rpc_main.c -+++ b/sunrpc/rpc_main.c -@@ -958,9 +958,10 @@ mkfile_output (struct commandline *cmd) - abort (); - temp = strrchr (cmd->infile, '.'); - cp = stpcpy (mkfilename, "Makefile."); -- if (temp != NULL) -- *((char *) stpncpy (cp, cmd->infile, temp - cmd->infile)) = '\0'; -- else -+ if (temp != NULL) { -+ strncpy(cp, cmd->infile, temp - cmd->infile); -+ cp[temp - cmd->infile - 1] = 0; -+ } else - stpcpy (cp, cmd->infile); - - } |