Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-05-06 | lib/replace: add SCNx macros | Christian Ambach | 1 | -0/+39 | |
we already have PRI*, but the corresponding SCN* were missing Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-05-06 | lib/replace: prefer inttypes.h over stdint.h | Christian Ambach | 1 | -4/+4 | |
according to C99 7.8, inttypes.h should include stdint.h so prefer inttypes.h and fall back to stdint.h (and our own definitions of PRI*) only when inttypes.h could not be found Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-01-19 | heimdal_build: Try again to sort out the strerror_r mess | Andrew Bartlett | 1 | -1/+2 | |
Reviewed-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-12-03 | replace: Remove deprecated getpass() support. | Andreas Schneider | 1 | -11/+0 | |
Reviewed-by: Jelmer Vernooij <jelmer@samba.org> | |||||
2012-11-22 | lib/replace: Do not use STRERROR_R_PROTO_COMPATIBLE as only roken.h sets this | Andrew Bartlett | 1 | -3/+1 | |
Currently, we put strerror_r into libreplace even on systems with strerror_r. Andrew Bartlett Reviewed-by: Andreas Schneider <asn@samba.org> | |||||
2012-11-14 | lib/replace: replace all *printf function if we replace snprintf (bug #9390) | Stefan Metzmacher | 1 | -12/+30 | |
This fixes segfaults in log level = 10 on Solaris. Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Björn Jacke <bj@sernet.de> Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Wed Nov 14 19:41:14 CET 2012 on sn-devel-104 | |||||
2012-09-24 | replace: Support setproctitle(). | Jelmer Vernooij | 1 | -0/+9 | |
This uses the setproctitle() from libc, libsetproctitle or libbsd. If none is available it provides a dummy implementation. | |||||
2012-09-10 | osX define uint64_t as long long int | Matthieu Patou | 1 | -1/+1 | |
2012-07-04 | replace: make the INT64_MAX define more portable | Björn Jacke | 1 | -1/+1 | |
2012-06-28 | replace: define INT64_MAX when not defined | Björn Jacke | 1 | -0/+4 | |
Tru64 doesn't have any stdint.h Autobuild-User(master): Björn Jacke <bj@sernet.de> Autobuild-Date(master): Thu Jun 28 00:45:58 CEST 2012 on sn-devel-104 | |||||
2012-06-14 | lib/replace: define HAVE_WORKING_STRPTIME instead of REPLACE_STRPTIME | Stefan Metzmacher | 1 | -1/+1 | |
That makes the logic in 'wscript' simpler. metze | |||||
2012-06-03 | librepace: put #defines after #include "sys/xattr.h" | Andrew Bartlett | 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 | |||||
2012-06-02 | libreplace: Fix build on MacOS where we have the same fn name but more arguments | Andrew Bartlett | 1 | -8/+8 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sat Jun 2 15:52:51 CEST 2012 on sn-devel-104 | |||||
2012-06-02 | lib/replace: Merge remaining xattr test details from lib/util | Andrew Bartlett | 1 | -8/+8 | |
I prefer the longer XATTR_ADDITIONAL_OPTIONS define and the NULL rather than 0 values in the getxattr test. Andrew Bartlett | |||||
2012-06-02 | lib/replace: xattr wrappers in lib/replace rather than source3/lib/system.c | Andrew Bartlett | 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 | |||||
2012-04-10 | On advice from Jelmer and Andrew, move the blksize_t and blkcnt_t tests into ↵ | Jeremy Allison | 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 | |||||
2012-04-09 | Move blksize_t and blkcnt_t to replace.h from includes.h. Should help with ↵ | Jeremy Allison | 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 | |||||
2012-03-24 | libreplace: Add usleep implementation. | Jelmer Vernooij | 1 | -0/+6 | |
2012-03-24 | libreplace: Add getpeereid implementation. | Jelmer Vernooij | 1 | -0/+9 | |
2012-03-24 | replace: Move memalign() from lib/util/system.c to libreplace. | Jelmer Vernooij | 1 | -0/+9 | |
2012-02-01 | replace: Add include for bsd/string.h. | Jelmer Vernooij | 1 | -0/+4 | |
2012-01-31 | Fix bug #8729 - getpass regressions on Solaris/Illumos - 3.6 and master. | Ira Cooper | 1 | -0/+11 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Tue Jan 31 23:28:09 CET 2012 on sn-devel-104 | |||||
2011-02-28 | libreplace: poll based on select | Volker Lendecke | 1 | -0/+5 | |
2011-02-03 | replace: Try to fix broken sys/capabilites.h on Linux. | Stefan Metzmacher | 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 | |||||
2010-10-26 | replace: restore the order for #define + rep_strtoll | Matthieu Patou | 1 | -3/+3 | |
2010-10-23 | lib/replace: fix rep_strtoull() prototype | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2010-10-22 | replace: use a wrapper around strtoll if it didn't behave as expected | Matthieu Patou | 1 | -0/+12 | |
2010-10-19 | replace: cope with systems that have fdatasync(), but don't have the prototype | Andrew Tridgell | 1 | -0/+2 | |
this is needed for MacOSX 10.4.1 | |||||
2010-09-22 | libreplace: fix endless strerror_r has been redefined warnings on AIX | Björn Jacke | 1 | -0/+1 | |
2010-08-31 | libreplace: add clock_gettime replacement function for systems that don't ↵ | Björn Jacke | 1 | -0/+4 | |
have it | |||||
2010-08-23 | replace: Fix ifndefs for formatting defines. | Jelmer Vernooij | 1 | -3/+3 | |
Thanks to Michael Brown for pointing this out. | |||||
2010-04-18 | libreplace: added _PUBLIC_ and _PRIVATE_ to replace.h | Andrew Tridgell | 1 | -0/+18 | |
these are needed for all libs that use ABI checking, so libreplace is the logical place for now | |||||
2010-03-29 | s4-waf: use the libreplace strerror_r if needed | Andrew Tridgell | 1 | -2/+2 | |
2010-03-26 | libreplace: strerror_r() is needed by heimdal on solaris8 | Andrew Tridgell | 1 | -0/+5 | |
2010-03-24 | libreplace: fixed declaration of dprintf() on FreeBSD | Andrew Tridgell | 1 | -0/+10 | |
2010-03-05 | replace: added get_current_dir_name() | Andrew Tridgell | 1 | -0/+5 | |
2010-02-13 | libreplace: add fdatasync() if not available | Andrew Tridgell | 1 | -0/+4 | |
2010-01-02 | libreplace: some systems don't have memmem() | Andrew Tridgell | 1 | -0/+6 | |
added rep_memmem() and a testsuite | |||||
2009-09-17 | libreplace: added likely()/unlikely() macros for gcc | Andrew Tridgell | 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. | |||||
2009-07-19 | include unix.h if it's available | Matt Kraai | 1 | -0/+4 | |
2009-04-22 | Avoid using deprecated form of AC_CHECK_TYPE. | Brad Hards | 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> | |||||
2009-01-31 | lib/replace: move MAXHOSTNAMELEN to system/network.h | Stefan Metzmacher | 1 | -12/+0 | |
Some platforms define it in netdb.h, so we should define the replace after including metdb.h. metze | |||||
2009-01-22 | lib/replace: add defines to let the callers find out if pwrite and pread are ↵ | Stefan Metzmacher | 1 | -0/+6 | |
thread/fork safe metze | |||||
2008-11-02 | Samba3: Remove more configure tests already done by libreplace. | Jelmer Vernooij | 1 | -1/+9 | |
2008-11-01 | Fix return type of readlink(). | Jelmer Vernooij | 1 | -1/+1 | |
2008-11-01 | Merge branch 'master' of /home/jelmer/samba3 | Jelmer Vernooij | 1 | -0/+35 | |
Conflicts: lib/replace/README lib/replace/libreplace.m4 lib/replace/replace.c source3/include/proto.h source3/lib/system.c | |||||
2008-11-01 | Use dup2() replacement from libreplace. | Jelmer Vernooij | 1 | -0/+5 | |
2008-11-01 | Remove sys_chroot() - libreplace already provides an alternative. | Jelmer Vernooij | 1 | -0/+5 | |
2008-11-01 | Move sys_realpath() to libreplace. | Jelmer Vernooij | 1 | -0/+5 | |
2008-11-01 | Move sys_lchown() to libreplace. | Jelmer Vernooij | 1 | -0/+4 | |