[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a rpcgen bug
From: |
이정윤 |
Subject: |
a rpcgen bug |
Date: |
Wed, 3 Apr 2002 17:43:25 +0900 |
Hi.
I'm jeongyun.
i found a bung in rpcgen
`rpcgen -NM' generated server stubs are missing 'result' argument.
this patch fixes it. i also found that FreeBSD's rpcgen fixed this too.
--- glibc-2.2.5.orig/sunrpc/rpc_svcout.c.orig Wed Mar 27 18:01:08 2002
+++ glibc-2.2.5.orig/sunrpc/rpc_svcout.c Wed Mar 27 18:00:59 2002
@@ -415,6 +415,8 @@
for (l = proc->args.decls; l != NULL; l = l->next)
f_print (fout, "argp->%s, ", l->decl.name);
}
+ if (mtflag)
+ f_print (fout, "%s, ", RESULT);
f_print (fout, "%s));\n}\n", RQSTP);
}
}