Actions
Bug #4340
closedrpc_clnt_create(3nsl): rpc_createerr is a variable, not a function
Start date:
2013-11-19
Due date:
% Done:
100%
Estimated time:
Difficulty:
Bite-size
Tags:
Gerrit CR:
External Bug:
Description
From the rpc_clnt_create(3nsl) man page:
struct rpc_createerr rpc_createerr ... These routines are MT-Safe. In the case of multithreaded applications, the -mt option must be specified on the com- mand line at compilation time. When the -mt option is specified, rpc_createerr() becomes a macro that enables each thread to have its own rpc_createerr(). See threads(5). ... rpc_createerr() A global variable whose value is set by any RPC client handle creation routine that fails. It is used by the routine clnt_pcreateerror() to print the reason for the failure.
Since rpc_createerr is a global variable, there shouldn't be parens (three times above). In addition, as a minor nit, semicolon should be placed after the rpc_createerr declaration in the man page synopsis.
Updated by Marcel Telka almost 10 years ago
- Status changed from New to In Progress
Updated by Robert Mustacchi over 9 years ago
- Status changed from In Progress to Resolved
- Assignee set to Shruti Sampat
- % Done changed from 0 to 100
- Tags deleted (
needs-triage)
Resolved in 24766d6b5e8d2ed5f6aff0dad6e9ae49121d4c30.
Actions