summaryrefslogtreecommitdiff
path: root/lib/replace/replace.c
AgeCommit message (Collapse)AuthorFilesLines
2012-04-26replace: Fix use of mktempSimo Sorce1-2/+2
mktemp always returns the template, so checking for NULL doesn't cactch any error. Errors are reported by turning the template into an empty string. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 26 16:14:24 CEST 2012 on sn-devel-104
2012-03-25replace: Avoid DEBUG(), which is not available in libreplace.Jelmer Vernooij1-1/+1
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Mar 25 00:13:59 CET 2012 on sn-devel-104
2012-03-24libreplace: Add usleep implementation.Jelmer Vernooij1-0/+14
2012-03-24replace: Work around socket wrapper.Jelmer Vernooij1-0/+1
It's fine to ignore socket wrapper here, as it doesn't deal with unix domain sockets.
2012-03-24replace: Add system/network.h for ucred struct.Jelmer Vernooij1-0/+1
2012-03-24libreplace: Add getpeereid implementation.Jelmer Vernooij1-0/+28
2012-03-24replace: Move memalign() from lib/util/system.c to libreplace.Jelmer Vernooij1-0/+32
2010-10-23lib/replace: fix rep_strtoull() prototypeStefan Metzmacher1-1/+1
metze
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou1-2/+48
2010-09-10libreplace: clock_gettime sets errnoBjörn Jacke1-1/+2
2010-08-31libreplace: add clock_gettime replacement function for systems that don't ↵Björn Jacke1-0/+21
have it
2010-03-29s4-waf: use the libreplace strerror_r if neededAndrew Tridgell1-4/+9
2010-03-26libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell1-0/+8
2010-03-24libreplace: fixed declaration of dprintf() on FreeBSDAndrew Tridgell1-2/+2
2010-03-05replace: added get_current_dir_name()Andrew Tridgell1-0/+12
2010-02-22Spelling fixes for libreplace.Brad Hards1-1/+1
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-11libreplace: 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>
2010-01-23libreplace: Fix a C++ warningVolker Lendecke1-2/+2
2010-01-02libreplace: some systems don't have memmem()Andrew Tridgell1-0/+23
added rep_memmem() and a testsuite
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