From e513a8fd6ec9efe4212656472fd36841d823d8dd Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 23 May 2000 06:31:35 +0000 Subject: 2000-05-18 Andreas Jaeger * sunrpc/rpc_main.c (parseargs): Don't accept -M and -N. Closes PR libc/1731. --- sunrpc/rpc_main.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'sunrpc') 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 */ -- cgit v1.2.3