summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r14349: Kill proto.h!Jelmer Vernooij2-6/+6
Prototypes are now spread over multiple headers, usually one per subsystem. This change is required to allow proper header dependencies later on, without recompiling Samba each time the mtime of any source file changes. (This used to be commit 3da79bf909f801386a52e6013db399c384d0401c)
2007-10-10r14240: fix summary output (step 2)Stefan Metzmacher1-5/+18
we now need to explicit enable external libraries in *.m4 files again... metze (This used to be commit ca809a7910b16a248fffddc640298bbe4cdedc01)
2007-10-10r13592: Incredible how bugs like this can sweep in even after peer review ↵Simo Sorce1-19/+22
and testing ... (This used to be commit 8483f61a1df0c80f3385b1ab5a2628c2a97d41a2)
2007-10-10r13577: Move some (possibly system-defined) defines to replace.hJelmer Vernooij1-0/+16
(This used to be commit 2b3d56e153b229119fddfa7b378f4d671ee0092c)
2007-10-10r13401: remove the rename of the snprintf functions that simo accidentiallyAndrew Tridgell1-4/+2
included in his last commit (This used to be commit 487b374b4359b2cb5f4e249e595c43bfa568a853)
2007-10-10r13374: new revision of the snprintf replace codeSimo Sorce1-226/+672
still missing a configure test to make us substitute our snprintf to system one when the system one does not have positional parameters support (This used to be commit 398f989d6580587eb1fa4fec0b1ed858b5cbe8e1)
2007-10-10r12814: we need this here too, as we'll include replace.h for building heimdal/*Stefan Metzmacher1-0/+12
too, and for this we don't include includes.h (hopefully) fix the build on AIX metze (This used to be commit 32f2cf433f65aaa9bcc5e33958d6f9c72c7f13d9)
2007-10-10r12801: Some more include/ cleanups (remove unused macros + move filesJelmer Vernooij1-12/+0
to specific dirs) (This used to be commit 243cf760b077e155f5ac508aeebf819f7708a84e)
2007-10-10r12592: Remove some useless dependenciesJelmer Vernooij7-2/+371
(This used to be commit ca8db1a0cd77682ac2c6dc4718f5d753a4fcc4db)
2007-10-10r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not usingJelmer Vernooij1-3/+2
the difference between these at all, and in the future the fact that INIT_OBJ_FILES include smb_build.h will be sufficient to have recompiles at the right time. (This used to be commit b24f2583edee38abafa58578d8b5c4b43e517def)
2007-10-10r12364: add UINT32_MAX and UINT64_MAX replacement definesStefan Metzmacher2-0/+10
(hopefully fix the build on OpenBSD) metze (This used to be commit cbe06ade214bd29eab5c11fcd011a3c463bf78db)
2007-10-10r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headersJelmer Vernooij2-0/+8
in build/smb_build/, remove unused pstring macros (This used to be commit 432296207400636dd81d0929ec7b1b4cebbcaa62)
2007-10-10r11797: Added OpenSSH fix for "%.*s" format crash. From Darren TuckerJeremy Allison1-1/+22
<dtucker@zip.com.au> Jeremy. (This used to be commit a2006c162833f8e0513c2f2744688960c04b7e67)
2007-10-10r11382: Require number of required M4 macrosJelmer Vernooij1-2/+2
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM Add some more PUBLIC_HEADERS (This used to be commit 875eb8f4cc658e6aebab070029fd499a726ad520)
2007-10-10r11343: Remove dependency on DEBUG()Jelmer Vernooij1-5/+0
(This used to be commit 407b5e615f80ab2f7a3d10bafd9284de7f02fe60)
2007-10-10r11244: Relative path names in .mk filesJelmer Vernooij1-4/+4
(This used to be commit 24e10300906c380919d2d631bfb3b8fd6b3f54ba)
2007-10-10r11214: Remove scons files (see ↵Jelmer Vernooij2-93/+0
http://lists.samba.org/archive/samba-technical/2005-October/043443.html) (This used to be commit 7fffc5c9178158249be632ac0ca179c13bd1f98f)
2007-10-10r11052: bring samba4 uptodate with the samba4-winsrepl branch,Stefan Metzmacher1-1/+0
before the bad merge metze (This used to be commit 471c0ca4abb17fb5f73c0efed195c67628c1c06e)
2007-10-10r11037:Stefan Metzmacher1-0/+1
(This used to be commit 6913e338405a5aca5c70cf6e022532c596ed0a36)
2007-10-10r10896: added a strcasestr() replacement functionAndrew Tridgell3-2/+20
(This used to be commit 4483d275e12006e5acc72ae143c0a01da01bd00d)
2007-10-10r10664: Include limits.h in replace.h for HOST_NAME_MAXJelmer Vernooij1-0/+21
(This used to be commit dc3dc796746de672dbf3ad0e4715e8b30ae4afb7)
2007-10-10r10586: Add MergedObject() builder. Default to Library() ratherJelmer Vernooij1-1/+1
then StaticLibrary() (This used to be commit b53313dc517986c69a4e4cb8fe3885b696f8faa1)
2007-10-10r10523: fixed timegm() to not depend on get_time_zone(), so it works in ↵Andrew Tridgell1-12/+2
lib/replace/ the old timegm() replacement was also broken (it returned the wrong value) (This used to be commit 342489a1d4d5cc4b16cf2e5ff7e671326f0cb3d5)
2007-10-10r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX)Jelmer Vernooij1-1/+10
(This used to be commit 42eb14060d53dbcbc381ecc781f121279190b08e)
2007-10-10r10510: Decrease the amount of data included by includes.h a bitJelmer Vernooij3-0/+14
(This used to be commit 03647e1321cf6c9bd6ced3945265f635e9468973)
2007-10-10r10509: Some more sconscript fixes. Now getting to link stage for smbclientJelmer Vernooij2-3/+30
(This used to be commit 6df956edbab7ad5e72b2f20e74ab0f0d62528932)
2007-10-10r10478: More work on proto headers; we now generate a couple of smaller onesJelmer Vernooij1-0/+10
that are then included by include/proto.h (This used to be commit 703ffbaaaca11f3d8781cfe9e7542fcaa626d991)
2007-10-10r10476: Move some more types to libreplace. Fix missing strndup errorsJelmer Vernooij4-15/+43
for heimdal (This used to be commit e09ffdfb1dba289b79ac7e5a638bf5322d45ddc0)
2007-10-10r10472: Check for strndupVolker Lendecke1-1/+1
(This used to be commit 8335aa056fd8a414feaffa707dc0bc20ac27388f)
2007-10-10r10456: More SCons fixes:Jelmer Vernooij4-4/+49
- Add framework for fallback generating code - Move pread / pwrite replacement functions to libreplace - Support pidl builds correctly - Support asn1 builds correctly - Move OS-specific checks to lib/replace/SConscript (This used to be commit fbbfad0a1f7dedbf48e835a864f8285f283d72f3)
2007-10-10r10453: Fix the buildJelmer Vernooij2-6/+1
(This used to be commit 7be3ec4dbb919752477e1d995df9f7d295b67687)
2007-10-10r10452: Couple of small scons updates - ignore .sconsign filesJelmer Vernooij2-0/+4
(This used to be commit b2d2b4f23393c727ae3feeaf4b4b65bc03a673f7)
2007-10-10r10449: remove double copyright headerStefan Metzmacher1-21/+0
metze (This used to be commit f6bd76fa154de6ed7f7ef3257be9572f13f3ec48)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij7-41/+269
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r10377: Save configuration stuff to sconf.cache so it isn't annoyingly runTim Potter1-6/+7
at every single build. Run 'scons configure=1' or delete sconf.cache to force checks to be re-run. Jelmer, I think this stuff is cached in the .sconf_cache directory but the message is still displayed and it looks like it caches the compiled test object file not the actual result of the test. (This used to be commit 9d001dc083937bbf5642af90bc8a8b1a27825de0)
2007-10-10r10348: Add scons scripts for remaining subsystems. Most subsystems build now,Jelmer Vernooij1-1/+1
but final linking still fails (as does generating files asn1, et, idl and proto files) (This used to be commit 4f0d7f75b99c7f4388d8acb0838577d86baf68b5)
2007-10-10r10336: Add sconscript for a couple more subsystems.Jelmer Vernooij1-0/+11
(This used to be commit 59d4450453c25f5cce9b67b808ff0c4433c1d194)
2007-10-10r9949: Portability fixes for mingw32Jelmer Vernooij2-4/+3
(This used to be commit 994093b08ee463066c6bae494b10374bd700b0b0)
2007-10-10r9374: HPUX is also missing setegid()Andrew Tridgell2-1/+13
(This used to be commit 57e6bd61395e82064c72510dcc326b11b7bdf7fd)
2007-10-10r9370: need a configure test for setresuid()Andrew Tridgell1-1/+1
(This used to be commit 5a38b9a10b3c5363cddc7acaaea2e1e9aceb254c)
2007-10-10r9369: an attempt to fix the build on HPUX. This is based on work by DonAndrew Tridgell2-79/+29
McCall, but takes a slightly different approach that I hope will be more generic (This used to be commit e8260a81cf99be2ccae64135ca0572c8a6ae62ad)
2007-10-10r9063: - don't pollute the global $LIBS variable with -ldlStefan Metzmacher1-0/+16
- -lresolve seems to not being needed any more (it's actually not used, and the build farm seem to happy with it) - move socket and netif configure test to seperate files - don't pollute the global $LIBS variable with -lsocket ... - actually make use of the -lsocket when needed (should fix the solaris build) metze (This used to be commit adebd56be6f62323d56b6666ca0e02f85a33438e)
2007-10-10r8750: drat, on some systems dirfd() is a macroAndrew Tridgell1-0/+3
(This used to be commit d974bf3589e1b0cd1d5661a21571b81e99350709)
2007-10-10r8749: for completeness, add rewinddir() and dirfd()Andrew Tridgell1-0/+10
(This used to be commit ce022e40908dabad41de276941d2ee7a5739aea4)
2007-10-10r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where theyAndrew Tridgell3-1/+166
are broken (apparently all BSD systems). This breakage leads to unlink on files in an open directory causing a later seekdir to miss files. The bug happens due to a block boundary bug in the BSD libc implementation of these calls. This replacement code also fixes a severe memory usage problem with telldir that can cause closedir() to take an arbitrary amount of time. I have reported the bug in readdir to Greg Lehey (a FreeBSD maintainer) (This used to be commit e1bf7c4279fbc03a52497d24cea375e75059cba1)
2007-10-10r8710: another attempt at fixing HPUXAndrew Tridgell1-1/+2
(This used to be commit eb3b3c8b407b2208291385539c3379f0420a448e)
2007-10-10r8698: attempt to cope with lack of strtoull() on HPUXAndrew Tridgell1-1/+9
(This used to be commit c84c516b179fcbbcdb36c0c0aa4ffb4ff12f2c35)
2007-10-10r8580: try to fix the build on stratusAndrew Tridgell1-12/+8
(This used to be commit 58d7a1e6a311c98c9b4dfc9e280b328406165997)
2007-10-10r8465: once we define socklen_t, then tell other include files we have it. ↵Andrew Tridgell1-0/+1
This prevents roken trying to redefine it (This used to be commit aa9491c0cb00f5cab9e00983bf2a0c266011904a)
2007-10-10r8458: next target is irix - this gets the socket wrapper code buildingAndrew Tridgell1-0/+4
(This used to be commit 3d4a2221c3e032bbb6c23d132e00588f44f5e2ed)