Stefan Metzmacher
0f006751ec
s3:libsmb: remove unused clistr_push_fn()
...
metze
2011-07-07 19:16:28 +02:00
Stefan Metzmacher
30574a73d8
s3:libsmb: remove unused clistr_pull_fn()
...
metze
2011-07-07 19:16:28 +02:00
Stefan Metzmacher
c234b4b0c0
lib/util/string_wrappers: move everything into one HAVE_COMPILER_WILL_OPTIMIZE_OUT_FNS block
...
metze
Autobuild-User: Stefan Metzmacher <metze@samba.org>
Autobuild-Date: Thu Jun 30 14:29:41 CEST 2011 on sn-devel-104
2011-06-30 14:29:41 +02:00
Jeremy Allison
d25370fb47
Don't evaluate the src argument to fstrcpy/fstrcat/nstrcpy/unstrcpy twice. Prevents side-effects when src is a function call.
2011-05-17 19:01:18 +02:00
Jeremy Allison
ff215f5c89
I added them, so I get to kill them :-). Finally remove all uses of 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-04 22:14:14 +02:00
Jeremy Allison
df023b8657
Tidy up some missing checks for NULL in strlcpy.
2011-05-04 12:12:15 -07:00
Jeremy Allison
5fa6f390d1
Remove overmalloc_safe_strcpy - can be simple strlcpy.
2011-05-04 12:12:14 -07:00
Jeremy Allison
0c464df22b
Change safe_strcpy_base to strlcpy_base. Note the size doesn't change here as the original macro auto-added the -1.
2011-05-04 12:12:14 -07:00
Jeremy Allison
017e0c8d95
Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.
2011-05-04 12:12:13 -07:00
Andrew Tridgell
980064b76d
lib: remove unused pieces of string_wrappers.h
2011-03-25 04:37:06 +01:00
Andrew Tridgell
8cd4a38d72
lib: move the string wrappers from source3/include to common lib/util
...
this will allow the common charcnv library to use the string wrappers
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-03-25 04:37:06 +01:00