summaryrefslogtreecommitdiff
path: root/source4/lib/replace
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r8450: more configure tests for solaris. It now builds some binaries, butAndrew Tridgell1-0/+12
fails in the ejs floating point code. (This used to be commit 30e1b6140e9f6246cb66eef7cf108d1ccf62bd40)
2007-10-10r8437: Win32 doesn't have u_int*_tJelmer Vernooij1-0/+3
(This used to be commit 5b007037dfacc5e13141ca41241543ac11a567b6)
2007-10-10r8434: Win32 portability updates from Steven Edwards <steven_ed4153@yahoo.com>:Jelmer Vernooij2-0/+143
- undefine anything in the win32 api or PSDK headers that Samba already defines - map BSD error codes to Winsock Error codes (This used to be commit d2ea6191259a28a32a1f4ffdff067b1a80e8dcc9)
2007-10-10r8420: slowly getting my way through some more heimdal portability fixesAndrew Tridgell1-4/+0
(This used to be commit 59c3de6ca8b8e153e5cfd67da5f2afc2e23d36db)
2007-10-10r8418: PRINTF_ATTRIBUTE declaration has to come before it is used :-)Andrew Tridgell1-12/+12
(This used to be commit a1ca8352f48cf1942e5a060c79ae1cc78b8a3668)
2007-10-10r8417: fixed handling of PRINTF_ATTRIBUTE for heimdal portion of buildAndrew Tridgell1-1/+1
(This used to be commit 117d2fa31d3a7e0b37c09979aa41243c564c0385)
2007-10-10r8313: moved PRINTF_ATTRIBUTE to replace.h to try to get irix building with ↵Andrew Tridgell1-0/+12
heimdal (This used to be commit 7d4e309f02cfcef661ebf3bbe9c227938318077c)
2007-10-10r7866: Remove some unused autoconf macro calls.Jelmer Vernooij1-1/+1
Some of these should probably be re-added again later when we need them. They should then be added to the appropriate config.m4 file in the source tree rather then in rewrite.m4. (This used to be commit 4eca613470139f6425f454aea016566f9deffa3e)