summaryrefslogtreecommitdiff
path: root/source3/lib/string_replace.c
AgeCommit message (Collapse)AuthorFilesLines
2025-02-05lib: Remove a pointer from R/W .dataVolker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2025-02-05lib: Move a pointer from .data to stackVolker Lendecke1-1/+1
Why was this declared static? ... Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2025-02-05lib: Convert string_replace_allocate() to return 0/errnoVolker Lendecke1-10/+14
This is only used in the VFS, which is still in large parts errno-based. Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2021-04-19lib: Replace a call to TALLOC_ZERO()Volker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2020-08-28s3: safe_string: do not include string_wrappers.hMatthew DeVore1-0/+1
Rather than have safe_string.h #include string_wrappers.h, make users of string_wrappers.h include it explicitly. includes.h now no longer includes string_wrappers.h transitively. Still allow includes.h to #include safe_string.h for now so that as many modules as possible get the safety checks in it. Signed-off-by: Matthew DeVore <matvore@google.com> Reviewed-by: David Mulder <dmulder@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2019-07-12s3: move fruit catia string replace mappings to s3/lib/Ralph Boehme1-0/+12
This will be needed by another component soonish. Signed-off-by: Ralph Boehme <slow@samba.org>
2019-07-12s3:{modules => lib}/string_replace.[c|h]Ralph Boehme1-0/+179
This is now also consumed by something outside source3/modules/. Signed-off-by: Ralph Boehme <slow@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>