summaryrefslogtreecommitdiff
path: root/lib/replace/replace.h
AgeCommit message (Collapse)AuthorFilesLines
2010-10-23lib/replace: fix rep_strtoull() prototypeStefan Metzmacher1-2/+2
metze
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou1-0/+12
2010-10-19replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell1-0/+2
this is needed for MacOSX 10.4.1
2010-09-22libreplace: fix endless strerror_r has been redefined warnings on AIXBjörn Jacke1-0/+1
2010-08-31libreplace: add clock_gettime replacement function for systems that don't ↵Björn Jacke1-0/+4
have it
2010-08-23replace: Fix ifndefs for formatting defines.Jelmer Vernooij1-3/+3
Thanks to Michael Brown for pointing this out.
2010-04-18libreplace: added _PUBLIC_ and _PRIVATE_ to replace.hAndrew Tridgell1-0/+18
these are needed for all libs that use ABI checking, so libreplace is the logical place for now
2010-03-29s4-waf: use the libreplace strerror_r if neededAndrew Tridgell1-2/+2
2010-03-26libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell1-0/+5
2010-03-24libreplace: fixed declaration of dprintf() on FreeBSDAndrew Tridgell1-0/+10
2010-03-05replace: added get_current_dir_name()Andrew Tridgell1-0/+5
2010-02-13libreplace: add fdatasync() if not availableAndrew Tridgell1-0/+4
2010-01-02libreplace: some systems don't have memmem()Andrew Tridgell1-0/+6
added rep_memmem() and a testsuite
2009-09-17libreplace: added likely()/unlikely() macros for gccAndrew Tridgell1-0/+19
These macros allow the compile to better optimise code that has a lot of if statements. I particularly want to use this for our low level generated NDR code.
2009-07-19include unix.h if it's availableMatt Kraai1-0/+4
2009-04-22Avoid using deprecated form of AC_CHECK_TYPE.Brad Hards1-0/+12
libreplace makes use of an older form of AC_CHECK_TYPE which basically provides a fallback definition for the type if it isn't available. http://www.gnu.org/software/hello/manual/autoconf/Obsolete-Macros.html#Obsolete-Macros shows why this isn't a good idea (its not so important, except for pointer types). This patch partly addresses the issue. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2009-01-31lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher1-12/+0
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
2009-01-22lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher1-0/+6
thread/fork safe metze
2008-11-02Samba3: Remove more configure tests already done by libreplace.Jelmer Vernooij1-1/+9
2008-11-01Fix return type of readlink().Jelmer Vernooij1-1/+1
2008-11-01Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij1-0/+35
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/+5
2008-11-01Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij1-0/+5
2008-11-01Move sys_realpath() to libreplace.Jelmer Vernooij1-0/+5
2008-11-01Move sys_lchown() to libreplace.Jelmer Vernooij1-0/+4
2008-11-01Move sys_symlink() to libreplace.Jelmer Vernooij1-0/+6
2008-11-01Move sys_readlink() to libreplace.Jelmer Vernooij1-0/+5
2008-11-01Move sys_link to libreplace.Jelmer Vernooij1-0/+5
2008-11-01Move sys_chown() to rep_chown().Jelmer Vernooij1-0/+5
2008-10-27Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij1-0/+9
2008-10-20Don't assume crypt.h is present even if crypt() is.Jelmer Vernooij1-0/+2
2008-10-18Move ufc to libreplace.Jelmer Vernooij1-0/+7
2008-10-14Define inttypes macros if not provided by system.Jelmer Vernooij1-0/+48
2008-10-14Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)Jelmer Vernooij1-0/+1
from inttypes.h.
2008-09-17Move common libraries from root to lib/.Jelmer Vernooij1-0/+582