mirror of
https://github.com/samba-team/samba.git
synced 2025-02-28 01:58:17 +03:00
Integrate with PSTRING_SANCTIFY.
(This used to be commit 20a03facb6acf6329acc1645d4e9ead863a1a57c)
This commit is contained in:
parent
17745322ab
commit
a276e917d8
@ -37,10 +37,10 @@
|
||||
#endif /* sprintf */
|
||||
#define sprintf __ERROR__XX__NEVER_USE_SPRINTF__;
|
||||
|
||||
#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)
|
||||
#define pstrcpy(d,s) safe_strcpy(PSTR_MUTABLE(d), (s),sizeof(pstring)-1)
|
||||
#define pstrcat(d,s) safe_strcat(PSTR_MUTABLE(d), (s),sizeof(pstring)-1)
|
||||
#define fstrcpy(d,s) safe_strcpy(FSTR_MUTABLE(d),(s),sizeof(fstring)-1)
|
||||
#define fstrcat(d,s) safe_strcat(FSTR_MUTABLE(d),(s),sizeof(fstring)-1)
|
||||
|
||||
#define wpstrcpy(d,s) safe_strcpy_w((d),(s),sizeof(wpstring))
|
||||
#define wpstrcat(d,s) safe_strcat_w((d),(s),sizeof(wpstring))
|
||||
|
Loading…
x
Reference in New Issue
Block a user