summaryrefslogtreecommitdiff
path: root/lib/replace/replace.c
AgeCommit message (Collapse)AuthorFilesLines
2012-11-15lib/replace: replace all *printf function if we replace snprintf (bug #9390)Stefan Metzmacher1-2/+2
This fixes segfaults in log level = 10 on Solaris. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Nov 14 19:41:14 CET 2012 on sn-devel-104 (cherry picked from commit a15da3625850d97b3da1b02308c870f820007c52) The last 5 patches address bug #9390 - Solaris printf doesn't allow %s, NULL.
2012-11-15libreplace: fixed declaration of dprintf() on FreeBSD (cherry picked from ↵Andrew Tridgell1-2/+2
commit a599319d0a389ff0c31dae8068cd7a78352aa9e7)
2012-11-15libreplace: added replacements for dprintf() and vdprintf()Andrew Tridgell1-0/+31
these are very useful for writing files with formatted writes Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> (cherry picked from commit d6fb64c51244529388b1f79ba8220ff608e1e4de)
2012-11-15libreplace: some systems don't have memmem()Andrew Tridgell1-0/+23
added rep_memmem() and a testsuite (cherry picked from commit fef3c910da421e890925e5e61275fc457da87f6e)
2009-04-20Error out at runtime when seteuid/setresuid or setegid/setresgid are notJelmer Vernooij1-2/+4
available. This means it's possible to compile libreplace when these functions are not available and use it, as long as this particular function is not used.
2009-04-20Only define waitpid replacement if wait4 is available. (It isn't onJelmer Vernooij1-1/+1
Windows.)
2009-04-20Cope with the fact that only _mkdir() exists on Windows and that itJelmer Vernooij1-0/+4
doesn't take a mode argument.
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij1-0/+52
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
2008-11-01Use dup2() replacement from libreplace.Jelmer Vernooij1-0/+9
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij1-2/+0
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij1-0/+11
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij1-0/+8
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij1-0/+8
2008-11-01Move sys_readlink() to libreplace.Jelmer Vernooij1-0/+7
2008-11-01Move sys_link to libreplace.Jelmer Vernooij1-0/+8
2008-11-01Move sys_chown() to rep_chown().Jelmer Vernooij1-0/+13
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+616