summaryrefslogtreecommitdiff
path: root/sunrpc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2000-05-23 06:31:35 +0000
committerAndreas Jaeger <aj@suse.de>2000-05-23 06:31:35 +0000
commite513a8fd6ec9efe4212656472fd36841d823d8dd (patch)
tree311fbfd87e18d7b5d76451eeb1d7e197486cb8a5 /sunrpc
parent6a7c9bb49a4074074175a751656d2b725dfede06 (diff)
downloadglibc-e513a8fd6ec9efe4212656472fd36841d823d8dd.tar.gz
2000-05-18 Andreas Jaeger <aj@suse.de>
* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731.
Diffstat (limited to 'sunrpc')
-rw-r--r--sunrpc/rpc_main.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sunrpc/rpc_main.c b/sunrpc/rpc_main.c
index e020ef030f..ba25455be4 100644
--- a/sunrpc/rpc_main.c
+++ b/sunrpc/rpc_main.c
@@ -1362,6 +1362,13 @@ parseargs (int argc, const char *argv[], struct commandline *cmd)
cmd->Scflag = flag['C'];
cmd->makefileflag = flag['M'];
+ 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);
+ }
if (tirpcflag)
{
pmflag = inetdflag ? 0 : 1; /* pmflag or inetdflag is always TRUE */