]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
rpc: Fix typos in rpc generator scripts
authorOsier Yang <jyang@redhat.com>
Sun, 17 Jul 2011 04:41:39 +0000 (12:41 +0800)
committerOsier Yang <jyang@redhat.com>
Sun, 17 Jul 2011 04:41:39 +0000 (12:41 +0800)
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/

src/remote/qemu_protocol.x
src/remote/remote_protocol.x
src/rpc/gendispatch.pl
src/rpc/genprotocol.pl

index 0bafbafa770679316a2265309fb39b5446866181..3279405b76dbb0cddea7d86aada8f6f2e44b6007 100644 (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 */
index ee169fd0dff0aebaa853bae1b9e0e56cd229cad4..d72a60d9c460b404a5b551ca408e5f1e69dfea6a 100644 (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.
      *
index 85a0c0eead4d6481cc4c78d2ec82135fab36502a..e068b538062c118d5033d89cbb8a47cc24f001a0 100755 (executable)
@@ -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__
index 4edba98df0944584cc60113dd6787a011ffca3d9..7124e5c0c51a27d0211149e516757da1f72cc498 100755 (executable)
@@ -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;