Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | librepace: put #defines after #include "sys/xattr.h" | Andrew Bartlett | 2012-06-03 | 1 | -40/+0 |
| | | | | | | | | | This avoids redefining the system xattr functions, which should fix MacOS. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Jun 3 09:46:44 CEST 2012 on sn-devel-104 | ||||
* | libreplace: Fix build on MacOS where we have the same fn name but more arguments | Andrew Bartlett | 2012-06-02 | 1 | -8/+8 |
| | | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 15:52:51 CEST 2012 on sn-devel-104 | ||||
* | lib/replace: Merge remaining xattr test details from lib/util | Andrew Bartlett | 2012-06-02 | 1 | -8/+8 |
| | | | | | | | I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett | ||||
* | lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.c | Andrew Bartlett | 2012-06-02 | 1 | -0/+40 |
| | | | | | | | This also moves all the still-used configure tests etc. The unused OSF API is also removed at this time. Andrew Bartlett | ||||
* | On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵ | Jeremy Allison | 2012-04-10 | 1 | -8/+0 |
| | | | | | | | libreplace to make it standalone. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Apr 10 04:07:11 CEST 2012 on sn-devel-104 | ||||
* | Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵ | Jeremy Allison | 2012-04-09 | 1 | -0/+8 |
| | | | | | | | platforms that don't have these. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Mon Apr 9 21:40:42 CEST 2012 on sn-devel-104 | ||||
* | libreplace: Add usleep implementation. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+6 |
| | |||||
* | libreplace: Add getpeereid implementation. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+9 |
| | |||||
* | replace: Move memalign() from lib/util/system.c to libreplace. | Jelmer Vernooij | 2012-03-24 | 1 | -0/+9 |
| | |||||
* | replace: Add include for bsd/string.h. | Jelmer Vernooij | 2012-02-01 | 1 | -0/+4 |
| | |||||
* | Fix bug #8729 - getpass regressions on Solaris/Illumos - 3.6 and master. | Ira Cooper | 2012-01-31 | 1 | -0/+11 |
| | | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 31 23:28:09 CET 2012 on sn-devel-104 | ||||
* | libreplace: poll based on select | Volker Lendecke | 2011-02-28 | 1 | -0/+5 |
| | |||||
* | replace: Try to fix broken sys/capabilites.h on Linux. | Stefan Metzmacher | 2011-02-03 | 1 | -0/+7 |
| | | | | | | | | | | | | As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Systems like ClearOS 5.2 need linux/types.h very early. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Feb 3 05:26:12 CET 2011 on sn-devel-104 | ||||
* | replace: restore the order for #define + rep_strtoll | Matthieu Patou | 2010-10-26 | 1 | -3/+3 |
| | |||||
* | lib/replace: fix rep_strtoull() prototype | Stefan Metzmacher | 2010-10-23 | 1 | -2/+2 |
| | | | | metze | ||||
* | replace: use a wrapper around strtoll if it didn't behave as expected | Matthieu Patou | 2010-10-22 | 1 | -0/+12 |
| | |||||
* | replace: cope with systems that have fdatasync(), but don't have the prototype | Andrew Tridgell | 2010-10-19 | 1 | -0/+2 |
| | | | | this is needed for MacOSX 10.4.1 | ||||
* | libreplace: fix endless strerror_r has been redefined warnings on AIX | Björn Jacke | 2010-09-22 | 1 | -0/+1 |
| | |||||
* | libreplace: add clock_gettime replacement function for systems that don't ↵ | Björn Jacke | 2010-08-31 | 1 | -0/+4 |
| | | | | have it | ||||
* | replace: Fix ifndefs for formatting defines. | Jelmer Vernooij | 2010-08-23 | 1 | -3/+3 |
| | | | | Thanks to Michael Brown for pointing this out. | ||||
* | libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h | Andrew Tridgell | 2010-04-18 | 1 | -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 needed | Andrew Tridgell | 2010-03-29 | 1 | -2/+2 |
| | |||||
* | libreplace: strerror_r() is needed by heimdal on solaris8 | Andrew Tridgell | 2010-03-26 | 1 | -0/+5 |
| | |||||
* | libreplace: fixed declaration of dprintf() on FreeBSD | Andrew Tridgell | 2010-03-24 | 1 | -0/+10 |
| | |||||
* | replace: added get_current_dir_name() | Andrew Tridgell | 2010-03-05 | 1 | -0/+5 |
| | |||||
* | libreplace: add fdatasync() if not available | Andrew Tridgell | 2010-02-13 | 1 | -0/+4 |
| | |||||
* | libreplace: some systems don't have memmem() | Andrew Tridgell | 2010-01-02 | 1 | -0/+6 |
| | | | | added rep_memmem() and a testsuite | ||||
* | libreplace: added likely()/unlikely() macros for gcc | Andrew Tridgell | 2009-09-17 | 1 | -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 available | Matt Kraai | 2009-07-19 | 1 | -0/+4 |
| | |||||
* | Avoid using deprecated form of AC_CHECK_TYPE. | Brad Hards | 2009-04-22 | 1 | -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.h | Stefan Metzmacher | 2009-01-31 | 1 | -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 Metzmacher | 2009-01-22 | 1 | -0/+6 |
| | | | | | | thread/fork safe metze | ||||
* | Samba3: Remove more configure tests already done by libreplace. | Jelmer Vernooij | 2008-11-02 | 1 | -1/+9 |
| | |||||
* | Fix return type of readlink(). | Jelmer Vernooij | 2008-11-01 | 1 | -1/+1 |
| | |||||
* | Merge branch 'master' of /home/jelmer/samba3 | Jelmer Vernooij | 2008-11-01 | 1 | -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 Vernooij | 2008-11-01 | 1 | -0/+5 |
| | | |||||
| * | Move sys_realpath() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+5 |
| | | |||||
| * | Move sys_lchown() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+4 |
| | | |||||
| * | Move sys_symlink() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+6 |
| | | |||||
| * | Move sys_readlink() to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+5 |
| | | |||||
| * | Move sys_link to libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+5 |
| | | |||||
| * | Move sys_chown() to rep_chown(). | Jelmer Vernooij | 2008-11-01 | 1 | -0/+5 |
| | | |||||
* | | Use dup2() replacement from libreplace. | Jelmer Vernooij | 2008-11-01 | 1 | -0/+5 |
|/ | |||||
* | Fix definition of environ on Mac OS X (bugzilla: #5412). | Jelmer Vernooij | 2008-10-27 | 1 | -0/+9 |
| | |||||
* | Don't assume crypt.h is present even if crypt() is. | Jelmer Vernooij | 2008-10-20 | 1 | -0/+2 |
| | |||||
* | Move ufc to libreplace. | Jelmer Vernooij | 2008-10-18 | 1 | -0/+7 |
| | |||||
* | Define inttypes macros if not provided by system. | Jelmer Vernooij | 2008-10-14 | 1 | -0/+48 |
| | |||||
* | Define __STDC_FORMAT_MACROS, required for PRIu64 define (among others) | Jelmer Vernooij | 2008-10-14 | 1 | -0/+1 |
| | | | | from inttypes.h. | ||||
* | Move common libraries from root to lib/. | Jelmer Vernooij | 2008-09-17 | 1 | -0/+582 |