rpc: Fix typos in rpc generator scripts

These typos are introduced by file renaming in commit b17b4afaf.

src/remote/qemu_protocol.x \
src/remote/remote_protocol.x \
src/rpc/gendispatch.pl:
    s/remote_generator/gendispatch/

src/rpc/genprotocol.pl:
    s/remote\/remote_protocol/remote_protocol/
This commit is contained in:
Osier Yang 2011-07-17 12:41:39 +08:00
parent fab4f0c699
commit 92f0a7f5af
4 changed files with 8 additions and 8 deletions

View File

@ -53,7 +53,7 @@ const QEMU_PROTOCOL_VERSION = 1;
enum qemu_procedure {
/* Each function must have a two-word comment. The first word is
* whether remote_generator.pl handles daemon, the second whether
* whether gendispatch.pl handles daemon, the second whether
* it handles src/remote. */
QEMU_PROC_MONITOR_COMMAND = 1, /* skipgen skipgen */
QEMU_PROC_DOMAIN_ATTACH = 2 /* autogen autogen */

View File

@ -339,7 +339,7 @@ struct remote_node_get_memory_stats {
* connection). Errors are returned implicitly in the RPC protocol.
*
* Please follow the naming convention carefully - this file is
* parsed by 'remote_generator.pl'.
* parsed by 'gendispatch.pl'.
*
* 'remote_CALL_ret' members that are filled via call-by-reference must be
* annotated with a insert@<offset> comment to indicate the offset in the
@ -2123,7 +2123,7 @@ const REMOTE_PROTOCOL_VERSION = 1;
enum remote_procedure {
/* Each function must have a two-word comment. The first word is
* whether remote_generator.pl handles daemon, the second whether
* whether gendispatch.pl handles daemon, the second whether
* it handles src/remote. Additional flags can be specified after a
* pipe.
*
@ -2390,7 +2390,7 @@ enum remote_procedure {
* Nice isn't it. Please keep it this way when adding more.
*
* Each function must have a two-word comment. The first word is
* whether remote_generator.pl handles daemon, the second whether
* whether gendispatch.pl handles daemon, the second whether
* it handles src/remote. Additional flags can be specified after a
* pipe.
*

View File

@ -9,8 +9,8 @@
# for both remote_protocol.x and qemu_protocol.x, you would run the
# following:
#
# remote_generator.pl -c -t remote ../src/remote/remote_protocol.x
# remote_generator.pl -t qemu ../src/remote/qemu_protocol.x
# gendispatch.pl -c -t remote ../src/remote/remote_protocol.x
# gendispatch.pl -t qemu ../src/remote/qemu_protocol.x
#
# By Richard Jones <rjones@redhat.com>
# Extended by Matthias Bolte <matthias.bolte@googlemail.com>
@ -239,7 +239,7 @@ sub hyper_to_long
# Output
print <<__EOF__;
/* Automatically generated by remote_generator.pl.
/* Automatically generated by gendispatch.pl.
* Do not edit this file. Any changes you make will be lost.
*/
__EOF__

View File

@ -59,7 +59,7 @@ while (<RPCGEN>) {
s/xdr_u_quad_t/xdr_uint64_t/g;
s/xdr_quad_t/xdr_int64_t/g;
s/(?<!IXDR_GET_INT32 )IXDR_GET_LONG/IXDR_GET_INT32/g;
s,#include "\./remote/remote_protocol\.h",#include "remote_protocol.h",;
s,#include "remote/remote_protocol\.h",#include "remote_protocol.h",;
if (m/^}/) {
$in_function = 0;