summaryrefslogtreecommitdiff
path: root/lib/util/string_wrappers.h
AgeCommit message (Collapse)AuthorFilesLines
2011-05-17Don't evaluate the src argument to fstrcpy/fstrcat/nstrcpy/unstrcpy twice. ↵Jeremy Allison1-5/+25
Prevents side-effects when src is a function call.
2011-05-04I added them, so I get to kill them :-). Finally remove all uses of ↵Jeremy Allison1-16/+0
safe_strcpy and safe_strcat. Change to strlcpy, strlcat. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed May 4 22:14:14 CEST 2011 on sn-devel-104
2011-05-04Tidy up some missing checks for NULL in strlcpy.Jeremy Allison1-1/+1
2011-05-04Remove overmalloc_safe_strcpy - can be simple strlcpy.Jeremy Allison1-8/+0
2011-05-04Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here ↵Jeremy Allison1-2/+2
as the original macro auto-added the -1.
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison1-4/+4
2011-03-25lib: remove unused pieces of string_wrappers.hAndrew Tridgell1-6/+0
2011-03-25lib: move the string wrappers from source3/include to common lib/utilAndrew Tridgell1-0/+132
this will allow the common charcnv library to use the string wrappers Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>