summaryrefslogtreecommitdiffstats
path: root/lib/replace/replace.h
Commit message (Collapse)AuthorAgeFilesLines
* replace: restore the order for #define + rep_strtollMatthieu Patou2010-10-261-3/+3
|
* lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2010-10-231-2/+2
| | | | metze
* replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou2010-10-221-0/+12
|
* replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell2010-10-191-0/+2
| | | | this is needed for MacOSX 10.4.1
* libreplace: fix endless strerror_r has been redefined warnings on AIXBjörn Jacke2010-09-221-0/+1
|
* libreplace: add clock_gettime replacement function for systems that don't ↵Björn Jacke2010-08-311-0/+4
| | | | have it
* replace: Fix ifndefs for formatting defines.Jelmer Vernooij2010-08-231-3/+3
| | | | Thanks to Michael Brown for pointing this out.
* libreplace: added _PUBLIC_ and _PRIVATE_ to replace.hAndrew Tridgell2010-04-181-0/+18
| | | | | these are needed for all libs that use ABI checking, so libreplace is the logical place for now
* s4-waf: use the libreplace strerror_r if neededAndrew Tridgell2010-03-291-2/+2
|
* libreplace: strerror_r() is needed by heimdal on solaris8Andrew Tridgell2010-03-261-0/+5
|
* libreplace: fixed declaration of dprintf() on FreeBSDAndrew Tridgell2010-03-241-0/+10
|
* replace: added get_current_dir_name()Andrew Tridgell2010-03-051-0/+5
|
* libreplace: add fdatasync() if not availableAndrew Tridgell2010-02-131-0/+4
|
* libreplace: some systems don't have memmem()Andrew Tridgell2010-01-021-0/+6
| | | | added rep_memmem() and a testsuite
* libreplace: added likely()/unlikely() macros for gccAndrew Tridgell2009-09-171-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.
* include unix.h if it's availableMatt Kraai2009-07-191-0/+4
|
* Avoid using deprecated form of AC_CHECK_TYPE.Brad Hards2009-04-221-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>
* lib/replace: move MAXHOSTNAMELEN to system/network.hStefan Metzmacher2009-01-311-12/+0
| | | | | | | Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze
* lib/replace: add defines to let the callers find out if pwrite and pread are ↵Stefan Metzmacher2009-01-221-0/+6
| | | | | | thread/fork safe metze
* Samba3: Remove more configure tests already done by libreplace.Jelmer Vernooij2008-11-021-1/+9
|
* Fix return type of readlink().Jelmer Vernooij2008-11-011-1/+1
|
* Merge branch 'master' of /home/jelmer/samba3Jelmer Vernooij2008-11-011-0/+35
|\ | | | | | | | | | | | | | | | | Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c
| * Remove sys_chroot() - libreplace already provides an alternative.Jelmer Vernooij2008-11-011-0/+5
| |
| * Move sys_realpath() to libreplace.Jelmer Vernooij2008-11-011-0/+5
| |
| * Move sys_lchown() to libreplace.Jelmer Vernooij2008-11-011-0/+4
| |
| * Move sys_symlink() to libreplace.Jelmer Vernooij2008-11-011-0/+6
| |
| * Move sys_readlink() to libreplace.Jelmer Vernooij2008-11-011-0/+5
| |
| * Move sys_link to libreplace.Jelmer Vernooij2008-11-011-0/+5
| |
| * Move sys_chown() to rep_chown().Jelmer Vernooij2008-11-011-0/+5
| |
* | Use dup2() replacement from libreplace.Jelmer Vernooij2008-11-011-0/+5
|/
* Fix definition of environ on Mac OS X (bugzilla: #5412).Jelmer Vernooij2008-10-271-0/+9
|
* Don't assume crypt.h is present even if crypt() is.Jelmer Vernooij2008-10-201-0/+2
|
* Move ufc to libreplace.Jelmer Vernooij2008-10-181-0/+7
|
* Define inttypes macros if not provided by system.Jelmer Vernooij2008-10-141-0/+48
|
* Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others)Jelmer Vernooij2008-10-141-0/+1
| | | | from inttypes.h.
* Move common libraries from root to lib/.Jelmer Vernooij2008-09-171-0/+582