dbus/doc dbus-specification.xml,1.51,1.52

Simon McVittie smcv at kemper.freedesktop.org
Mon May 21 08:41:01 PDT 2007


Update of /cvs/dbus/dbus/doc
In directory kemper:/tmp/cvs-serv1880/doc

Modified Files:
	dbus-specification.xml 
Log Message:
doc/dbus-specification.xml: explicitly specify that STRING cannot contain embedded NULs.


Index: dbus-specification.xml
===================================================================
RCS file: /cvs/dbus/dbus/doc/dbus-specification.xml,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- dbus-specification.xml	18 May 2007 18:12:24 -0000	1.51
+++ dbus-specification.xml	21 May 2007 15:40:59 -0000	1.52
@@ -385,7 +385,7 @@
               </row><row>
                 <entry><literal>STRING</literal></entry>
                 <entry>115 (ASCII 's')</entry>
-                <entry>UTF-8 string (<emphasis>must</emphasis> be valid UTF-8). Must be nul terminated.</entry>
+                <entry>UTF-8 string (<emphasis>must</emphasis> be valid UTF-8). Must be nul terminated and contain no other nul bytes.</entry>
               </row><row>
                 <entry><literal>OBJECT_PATH</literal></entry>
                 <entry>111 (ASCII 'o')</entry>
@@ -503,7 +503,7 @@
                 <entry><literal>STRING</literal></entry>
                 <entry>A <literal>UINT32</literal> indicating the string's 
                   length in bytes excluding its terminating nul, followed by 
-                  string data of the given length, followed by a terminating nul 
+                  non-nul string data of the given length, followed by a terminating nul 
                   byte.
                 </entry>
                 <entry>



More information about the dbus-commit mailing list