rpcsvc-proto/rpcsvc-proto-1.3.1-enable_MT_code.patch
Troy Dawson fb8ddf7507 RHEL 9.0.0 Alpha bootstrap
The content of this branch was automatically imported from Fedora ELN
with the following as its source:
https://src.fedoraproject.org/rpms/rpcsvc-proto#248d44e4c276d4747ae34b1bcb27c75cbb3ba5dc
2020-10-14 21:50:23 -07:00

21 lines
679 B
Diff

Index: rpcsvc-proto-1.3.1/rpcgen/rpc_main.c
===================================================================
--- rpcsvc-proto-1.3.1.orig/rpcgen/rpc_main.c
+++ rpcsvc-proto-1.3.1/rpcgen/rpc_main.c
@@ -1346,15 +1346,6 @@ parseargs (int argc, const char *argv[],
cmd->Scflag = flag['C'];
cmd->makefileflag = flag['M'];
-#ifndef _RPC_THREAD_SAFE_
- if (mtflag || newstyle)
- {
- /* glibc doesn't support these flags. */
- f_print (stderr,
- _("This implementation doesn't support newstyle or MT-safe code!\n"));
- return (0);
- }
-#endif
if (tirpcflag)
{
pmflag = inetdflag ? 0 : 1; /* pmflag or inetdflag is always TRUE */