summaryrefslogtreecommitdiff
path: root/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2011-02-02replace: Try to fix broken sys/capabilites.h on Linux.Andreas Schneider3-1/+6
As this is more or less a broken header we need to include linux/types.h before sys/capabilities.h to avoid redefinitions. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Wed Feb 2 11:57:04 CET 2011 on sn-devel-104
2011-01-08waf: ensure "make dist" works from a clean git tree for all librariesAndrew Tridgell1-2/+4
this uses a temporary waf lock file to force the build directory Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Jan 8 02:35:22 CET 2011 on sn-devel-104
2010-12-23lib/replace/testsuite.c - fix test outputMatthias Dieter Wallnöfer1-1/+1
2010-12-12change searched name from _ss_family to __ss_familyMatthieu Patou1-1/+1
Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sun Dec 12 20:05:23 CET 2010 on sn-devel-104
2010-12-12build: add a check for _ss_family as it used on aix to replace ss_familyMatthieu Patou1-0/+2
2010-12-12replace: add comments to make the #ifdef/#else/endif more readableMatthieu Patou1-3/+3
2010-12-11build: add a dependency on lib iconv for lib intl if we are not able to find itMatthieu Patou1-1/+12
This is due that on some platform lib intl depend on lib iconv, failling to provide this library cause waf to be unable to link with lib intl and makes it think that the library doesn't exists !
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-1/+1
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-28replace:wscript - reintroduce the size check for "bool" due to a request of ↵Matthias Dieter Wallnöfer1-1/+1
metze Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Nov 28 15:48:40 CET 2010 on sn-devel-104
2010-11-28replace:wscript - change the "bool" checks to be compatible with more platformsMatthias Dieter Wallnöfer1-2/+2
- If the type was found then we are fine and define "HAVE_BOOL" - Othewise we substitute it in "replace.h" as "_Bool" or if not possible as "int" - This prevents lot of warnings on platforms where we don't have a "bool" type as Tru64 - The length check for "bool" is not really useful and therefore removed
2010-11-03build: a more portable way of finding waf in makefilesAndrew Tridgell1-3/+1
this avoids using the non-portable shell command in makefiles Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Nov 3 22:44:59 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: add size checks for stdint.h typesStefan Metzmacher1-0/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Nov 3 19:12:39 UTC 2010 on sn-devel-104
2010-11-03replace/wscript: do the size checks directly after the type checksStefan Metzmacher1-4/+4
metze
2010-11-03replace/wscript: define bool to int instead of off_tStefan Metzmacher1-1/+1
metze
2010-11-03replace/wscript: check for uint8_tStefan Metzmacher1-0/+1
metze
2010-10-31replace/talloc: Avoid automatically pulling in new configure/Makefile,Jelmer Vernooij1-6/+0
as these files are checked in, and the source might not be available. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 22:27:56 UTC 2010 on sn-devel-104
2010-10-31replace: Look harder for waf.Jelmer Vernooij1-1/+8
2010-10-31replace: Build using waf by default.Jelmer Vernooij5-14/+108
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:45:21 UTC 2010 on sn-devel-104
2010-10-30replace: Fix formatting.Jelmer Vernooij1-8/+8
Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Oct 30 16:32:15 UTC 2010 on sn-devel-104
2010-10-30replace: Avoid autoproto as it breaks standalone builds.Jelmer Vernooij2-1/+10
Automatic prototype generation uses ../../source4/script/mkproto.pl. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-10-30replace: Only build replace-test in standalone build.Jelmer Vernooij1-7/+9
This allows turning libreplace-test back into a subsystem.
2010-10-30replace: create a private replace-test libraryAndrew Tridgell1-5/+8
used by replace_testuite and smbtorture
2010-10-26replace: restore the order for #define + rep_strtollMatthieu Patou1-3/+3
2010-10-23waf: Rename some BUNDLED_ functios to PRIVATE_.Jelmer Vernooij1-1/+1
2010-10-23lib/replace: use snprintf() in test code to avoid warnings in the IBM-CheckerStefan Metzmacher1-2/+2
metze
2010-10-23lib/replace: fix rep_strtoull() prototypeStefan Metzmacher2-3/+3
metze
2010-10-22replace: use replace for non 'samba' compliant strptimeMatthieu Patou1-0/+19
2010-10-22replace: use a wrapper around strtoll if it didn't behave as expectedMatthieu Patou3-2/+77
2010-10-21replace: make libreplace a private libraryAndrew Tridgell1-0/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-19replace: cope with systems that have fdatasync(), but don't have the prototypeAndrew Tridgell3-1/+7
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-09-14libreplace: use CLOCK_HIGHRES when availableBjörn Jacke1-3/+5
in Solaris 8 CLOCK_HIGHRES was the (only) name for CLOCK_MONOTONIC
2010-09-11lib/replace/wscript:Tru64 build - Better use version 600 for _XOPEN_SOURCEMatthias Dieter Wallnöfer1-2/+2
This means we request the "Single UNIX Specification, Version 3" with C99 compatibility as the Python 2.5 release on the system. This prevents redefinitions with different values. > [ 451/1918] Compiling scripting/python/pyglue.c > cc: Warning: /usr/local/include/python2.5/pyconfig.h, line 951: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef) > #define _XOPEN_SOURCE 600 > ----------------------^ > cc: Warning: default/source4/include/config.h, line 54: The redefinition of the macro "_XOPEN_SOURCE" conflicts with a current definition because the replacement lists differ. The redefinition is now in effect. (macroredef) > #define _XOPEN_SOURCE 500 > ----------------------^
2010-09-11lib/replace:wscript - additional attempt to fix the build on Tru64Matthias Dieter Wallnöfer1-1/+3
Obviously we really need both definitions ("socklen_t" has been found by "_XOPEN_SOURCE"=500). But now FIONREAD wasn't accessible.
2010-09-11lib/replace:wscript - don't check twice for type "bool"Matthias Dieter Wallnöfer1-2/+1
2010-09-11lib/replace:wscript - attempt to fix the features detection on Tru64Matthias Dieter Wallnöfer1-2/+2
Hopefully now we detect the built-in "socklen_t" https://bugs.internet2.edu/jira/browse/SSPCPP-114 http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN5/0001____.HTM
2010-09-10libreplace: clock_gettime sets errnoBjörn Jacke1-1/+2
2010-08-31replace/waf: add rt to deps at this placeBjörn Jacke1-1/+1
2010-08-31libreplace: make a define for a best effort monotonic clockBjörn Jacke1-0/+7
2010-08-31libreplace: add clock_gettime replacement function for systems that don't ↵Björn Jacke4-0/+32
have it
2010-08-31libreplace/waf: look for clock_gettimeBjörn Jacke1-0/+1
2010-08-31libreplace: move detection of clock_gettime to libreplaceBjörn Jacke1-0/+43
2010-08-31libreplace: move gettimeofday TZ arg check hereBjörn Jacke1-0/+10
2010-08-23replace: Fix ifndefs for formatting defines.Jelmer Vernooij1-3/+3
Thanks to Michael Brown for pointing this out.
2010-08-23libreplace: fixed the strptime() waf testAndrew Tridgell1-8/+2
Thanks to Jelmer for pointing this out
2010-08-13tdb: add TDB_DEPS variable filled with required librariesBjörn Jacke1-1/+7
This is required for Solaris, which needs to link in librt to make use of fdatasync().
2010-06-18replace: Avoid hiding symbols when libreplace is builtin, as thisJelmer Vernooij1-1/+5
appears to cause unresolved symbols at the moment.
2010-06-03libreplace: Fix readline build with libedit.James Peach1-1/+7
libedit on MAc OSX 10.5 does not have the rl_completion_t typedef, but uses a internal typedef names CPPFunction. Signed-off-by: Günther Deschner <gd@samba.org>
2010-06-01lib/replace: fix some c++ build warnings in testsuite.Günther Deschner1-4/+4
Guenther