[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
rpcgen -M support removed from glibc?
From: |
Derek Atkins |
Subject: |
rpcgen -M support removed from glibc? |
Date: |
22 Mar 2001 16:17:51 -0500 |
Hi,
It appears that a patch was added to sunrpc/rpc_main.c that prints an
error message when the -M flag is supplied to rpcgen. The -M flag
tells rpcgen to generate stubfiles in a Multi-Thread-Safe manner.
Without the -M flag, the RPC routines use static structures for return
values.
Support for the -M flag is in glibc, and has been for a long time.
However, this patch was added at some point relatively recently and
causes rpcgen to complain when either the -M flag or -N (multiple
arguments and call-by-value) flags are supplied. The latter is
certainly a valid complaint, but the former is a perfectly valid
rpcgen option.
In particular, the patch says:
if (mtflag || newstyle) {
// glibc doesn't support this
...
}
Can you please fix rpcgen? The appropriate change would be to
change the above to:
if (newstyle) {
// glibc doesn't support this
...
}
Thanks!
-derek
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
address@hidden PGP key available
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- rpcgen -M support removed from glibc?,
Derek Atkins <=