Matthieu Patou
2d0ac59fcc
replace: use a wrapper around strtoll if it didn't behave as expected
2010-10-22 01:00:53 +04:00
Björn Jacke
e2de1b8e71
libreplace: clock_gettime sets errno
2010-09-10 23:10:26 +02:00
Björn Jacke
3df1037a74
libreplace: add clock_gettime replacement function for systems that don't have it
2010-08-31 09:07:29 +02:00
Andrew Tridgell
686221eae2
s4-waf: use the libreplace strerror_r if needed
2010-03-29 21:34:29 +11:00
Andrew Tridgell
c81d2ae3c9
libreplace: strerror_r() is needed by heimdal on solaris8
2010-03-26 16:50:48 +11:00
Andrew Tridgell
a599319d0a
libreplace: fixed declaration of dprintf() on FreeBSD
2010-03-24 07:11:38 +01:00
Andrew Tridgell
f3c738f819
replace: added get_current_dir_name()
2010-03-05 23:07:32 +11:00
Brad Hards
198b17abf0
Spelling fixes for libreplace.
...
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-02-22 21:45:34 +01:00
Andrew Tridgell
d6fb64c512
libreplace: added replacements for dprintf() and vdprintf()
...
these are very useful for writing files with formatted writes
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-02-11 21:04:13 +11:00
Volker Lendecke
a771c184b1
libreplace: Fix a C++ warning
2010-01-23 14:35:38 +01:00
Andrew Tridgell
fef3c910da
libreplace: some systems don't have memmem()
...
added rep_memmem() and a testsuite
2010-01-02 10:08:12 +11:00
Jelmer Vernooij
bb0f430064
Error out at runtime when seteuid/setresuid or setegid/setresgid are not
...
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-20 16:25:17 +02:00
Jelmer Vernooij
20e1ba1c09
Only define waitpid replacement if wait4 is available. (It isn't on
...
Windows.)
2009-04-20 16:25:16 +02:00
Jelmer Vernooij
e5233ccf9e
Cope with the fact that only _mkdir() exists on Windows and that it
...
doesn't take a mode argument.
2009-04-20 16:25:16 +02:00
Jelmer Vernooij
31fa08dcbd
Merge branch 'master' of /home/jelmer/samba3
...
Conflicts:
lib/replace/README
lib/replace/libreplace.m4
lib/replace/replace.c
source3/include/proto.h
source3/lib/system.c
2008-11-01 04:02:47 +01:00
Jelmer Vernooij
5a56c0adf2
Use dup2() replacement from libreplace.
2008-11-01 03:58:14 +01:00
Jelmer Vernooij
6a2caa34b2
Remove sys_chroot() - libreplace already provides an alternative.
2008-11-01 03:46:09 +01:00
Jelmer Vernooij
a6d537bb6c
Move sys_realpath() to libreplace.
2008-11-01 03:42:27 +01:00
Jelmer Vernooij
38d67363ac
Move sys_lchown() to libreplace.
2008-11-01 03:39:20 +01:00
Jelmer Vernooij
e8cda43e17
Move sys_symlink() to libreplace.
2008-11-01 03:35:58 +01:00
Jelmer Vernooij
dbda9adfaf
Move sys_readlink() to libreplace.
2008-11-01 03:33:39 +01:00
Jelmer Vernooij
bbbe6ab722
Move sys_link to libreplace.
2008-11-01 03:30:47 +01:00
Jelmer Vernooij
161d70a57a
Move sys_chown() to rep_chown().
2008-11-01 03:27:45 +01:00
Jelmer Vernooij
94855cd692
Move common libraries from root to lib/.
2008-09-17 14:11:12 +02:00