2000-05-18 Andreas Jaeger <aj@suse.de>

* sunrpc/rpc_main.c (parseargs): Don't accept -M and -N.
	Closes PR libc/1731.
This commit is contained in:
Andreas Jaeger 2000-05-23 06:31:35 +00:00
parent 6a7c9bb49a
commit e513a8fd6e
1 changed files with 7 additions and 0 deletions

View File

@ -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 */