svn commit: samba r24715 - in branches/SAMBA_4_0: . source/include

jelmer at samba.org jelmer at samba.org
Mon Aug 27 18:32:52 GMT 2007


Author: jelmer
Date: 2007-08-27 18:32:51 +0000 (Mon, 27 Aug 2007)
New Revision: 24715

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

Log:
Mark fstring and pstring as deprecated.
Modified:
   branches/SAMBA_4_0/
   branches/SAMBA_4_0/source/include/pstring.h


Changeset:

Property changes on: branches/SAMBA_4_0
___________________________________________________________________
Name: bzr:revision-info
...skipped...
Name: bzr:revision-id:v3-trunk0
...skipped...

Modified: branches/SAMBA_4_0/source/include/pstring.h
===================================================================
--- branches/SAMBA_4_0/source/include/pstring.h	2007-08-27 18:26:40 UTC (rev 24714)
+++ branches/SAMBA_4_0/source/include/pstring.h	2007-08-27 18:32:51 UTC (rev 24715)
@@ -30,11 +30,11 @@
 #define PSTRING_LEN 1024
 #define FSTRING_LEN 256
 
-typedef char pstring[PSTRING_LEN];
-typedef char fstring[FSTRING_LEN];
+_DEPRECATED_ typedef char pstring[PSTRING_LEN];
+_DEPRECATED_ typedef char fstring[FSTRING_LEN];
 
-#define pstrcpy(d,s) safe_strcpy((d), (s),sizeof(pstring)-1)
-#define pstrcat(d,s) safe_strcat((d), (s),sizeof(pstring)-1)
+#define pstrcpy(d,s) safe_strcpy((d),(s),sizeof(pstring)-1)
+#define pstrcat(d,s) safe_strcat((d),(s),sizeof(pstring)-1)
 #define fstrcpy(d,s) safe_strcpy((d),(s),sizeof(fstring)-1)
 #define fstrcat(d,s) safe_strcat((d),(s),sizeof(fstring)-1)
 



More information about the samba-cvs mailing list