diff options
author | Jeremy Allison <jra@samba.org> | 2003-08-23 01:59:14 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-08-23 01:59:14 +0000 |
commit | dac11b890b3e81f8849340e582b7f397a612baba (patch) | |
tree | 91c9b21264d90486a81696f3a03ef0842abd00db /source3/include/safe_string.h | |
parent | e745d4e602698e0a49a9e90c918049b4096fbba8 (diff) | |
download | samba-dac11b890b3e81f8849340e582b7f397a612baba.tar.gz samba-dac11b890b3e81f8849340e582b7f397a612baba.tar.bz2 samba-dac11b890b3e81f8849340e582b7f397a612baba.zip |
Half-way though the big conversion of all nmbd access to wire elements being
converted to pull/push_ascii. This will not work right at the moment for non
English codepages, but compiles - I will finish the work over the weekend.
Then nmbd should be completely codepage correct.
Jeremy.
(This used to be commit 236d6adadf32397b28028ea82ae2ec027366f7c8)
Diffstat (limited to 'source3/include/safe_string.h')
-rw-r--r-- | source3/include/safe_string.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/include/safe_string.h b/source3/include/safe_string.h index 6656f4f6bb..07578b2424 100644 --- a/source3/include/safe_string.h +++ b/source3/include/safe_string.h @@ -124,6 +124,7 @@ size_t __unsafe_string_function_usage_here_char__(void); #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 nstrcpy(d,s) safe_strcpy((d), (s),sizeof(nstring)-1) /* the addition of the DEVELOPER checks in safe_strcpy means we must * update a lot of code. To make this a little easier here are some |