svn commit: samba r12086 - in branches/SAMBA_4_0/source/librpc/idl: .

tridge at samba.org tridge at samba.org
Tue Dec 6 05:25:04 GMT 2005


Author: tridge
Date: 2005-12-06 05:25:03 +0000 (Tue, 06 Dec 2005)
New Revision: 12086

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12086

Log:

reverted the utf8string change in xattr.idl. See the discussion on
samba-technical on why this should stay as a simple null terminated
string (basically to make hand-written parsers easier)

Modified:
   branches/SAMBA_4_0/source/librpc/idl/xattr.idl


Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/xattr.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/xattr.idl	2005-12-06 03:53:51 UTC (rev 12085)
+++ branches/SAMBA_4_0/source/librpc/idl/xattr.idl	2005-12-06 05:25:03 UTC (rev 12086)
@@ -41,7 +41,7 @@
 		NTTIME     create_time;
 		NTTIME     change_time;
 		NTTIME     write_time; /* only used when sticky write time is set */
-		[string,charset(UTF8)] uint8 *name;       /* will be used for case-insensitive speedup */
+		utf8string name;
 	} xattr_DosInfo2;
 
 	typedef [switch_type(uint16)] union {
@@ -59,7 +59,7 @@
 	const char *XATTR_DOSEAS_NAME = "user.DosEAs";
 
 	typedef struct {
-		[string,charset(UTF8)] uint8 *name;
+		utf8string name;
 		DATA_BLOB value;
 	} xattr_EA;
 
@@ -85,7 +85,7 @@
 		uint32     flags;
 		udlong     size;
 		udlong     alloc_size;
-		[charset(UTF8),string] uint8 name[];
+		utf8string name;
 	} xattr_DosStream;
 
 	typedef [public] struct {



More information about the samba-cvs mailing list