1
0
mirror of https://github.com/samba-team/samba.git synced 2025-10-26 23:33:15 +03:00
Commit Graph

59 Commits

Author SHA1 Message Date
Simo Sorce
8483f61a1d r13592: Incredible how bugs like this can sweep in even after peer review and testing ... 2007-10-10 13:51:58 -05:00
Jelmer Vernooij
2b3d56e153 r13577: Move some (possibly system-defined) defines to replace.h 2007-10-10 13:51:57 -05:00
Andrew Tridgell
487b374b43 r13401: remove the rename of the snprintf functions that simo accidentially
included in his last commit
2007-10-10 13:51:52 -05:00
Simo Sorce
398f989d65 r13374: new revision of the snprintf replace code
still missing a configure test to make us
substitute our snprintf to system one when
the system one does not have positional parameters support
2007-10-10 13:51:51 -05:00
Stefan Metzmacher
32f2cf433f r12814: we need this here too, as we'll include replace.h for building heimdal/*
too, and for this we don't include includes.h

(hopefully) fix the build on AIX

metze
2007-10-10 13:49:59 -05:00
Jelmer Vernooij
243cf760b0 r12801: Some more include/ cleanups (remove unused macros + move files
to specific dirs)
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
ca8db1a0cd r12592: Remove some useless dependencies 2007-10-10 13:49:00 -05:00
Jelmer Vernooij
b24f2583ed r12498: Eliminate INIT_OBJ_FILES and ADD_OBJ_FILES. We were not using
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.
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
cbe06ade21 r12364: add UINT32_MAX and UINT64_MAX replacement defines
(hopefully fix the build on OpenBSD)

metze
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
4322962074 r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
in build/smb_build/, remove unused pstring macros
2007-10-10 13:47:19 -05:00
Jeremy Allison
a2006c1628 r11797: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
<dtucker@zip.com.au>
Jeremy.
2007-10-10 13:46:29 -05:00
Jelmer Vernooij
875eb8f4cc r11382: Require number of required M4 macros
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
407b5e615f r11343: Remove dependency on DEBUG() 2007-10-10 13:45:21 -05:00
Jelmer Vernooij
24e1030090 r11244: Relative path names in .mk files 2007-10-10 13:45:06 -05:00
Jelmer Vernooij
7fffc5c917 r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html) 2007-10-10 13:45:03 -05:00
Stefan Metzmacher
471c0ca4ab r11052: bring samba4 uptodate with the samba4-winsrepl branch,
before the bad merge

metze
2007-10-10 13:44:43 -05:00
Stefan Metzmacher
6913e33840 r11037: 2007-10-10 13:42:33 -05:00
Andrew Tridgell
4483d275e1 r10896: added a strcasestr() replacement function 2007-10-10 13:39:41 -05:00
Jelmer Vernooij
dc3dc79674 r10664: Include limits.h in replace.h for HOST_NAME_MAX 2007-10-10 13:39:15 -05:00
Jelmer Vernooij
b53313dc51 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
2007-10-10 13:39:08 -05:00
Andrew Tridgell
342489a1d4 r10523: fixed timegm() to not depend on get_time_zone(), so it works in lib/replace/
the old timegm() replacement was also broken (it returned the wrong value)
2007-10-10 13:39:00 -05:00
Jelmer Vernooij
42eb14060d r10521: Also check sys/socket.h for definition of socklen_t (needed for AIX) 2007-10-10 13:39:00 -05:00
Jelmer Vernooij
03647e1321 r10510: Decrease the amount of data included by includes.h a bit 2007-10-10 13:38:58 -05:00
Jelmer Vernooij
6df956edba r10509: Some more sconscript fixes. Now getting to link stage for smbclient 2007-10-10 13:38:58 -05:00
Jelmer Vernooij
703ffbaaac r10478: More work on proto headers; we now generate a couple of smaller ones
that are then included by include/proto.h
2007-10-10 13:38:52 -05:00
Jelmer Vernooij
e09ffdfb1d r10476: Move some more types to libreplace. Fix missing strndup errors
for heimdal
2007-10-10 13:38:51 -05:00
Volker Lendecke
8335aa056f r10472: Check for strndup 2007-10-10 13:38:51 -05:00
Jelmer Vernooij
fbbfad0a1f r10456: More SCons fixes:
- 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
2007-10-10 13:38:48 -05:00
Jelmer Vernooij
7be3ec4dbb r10453: Fix the build 2007-10-10 13:38:48 -05:00
Jelmer Vernooij
b2d2b4f233 r10452: Couple of small scons updates - ignore .sconsign files 2007-10-10 13:38:47 -05:00
Stefan Metzmacher
f6bd76fa15 r10449: remove double copyright header
metze
2007-10-10 13:38:47 -05:00
Jelmer Vernooij
29919a7105 r10438: Move portability functions to lib/replace/; replace now simply ensures
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.
2007-10-10 13:38:45 -05:00
Tim Potter
9d001dc083 r10377: Save configuration stuff to sconf.cache so it isn't annoyingly run
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.
2007-10-10 13:38:33 -05:00
Jelmer Vernooij
4f0d7f75b9 r10348: Add scons scripts for remaining subsystems. Most subsystems build now,
but final linking still fails (as does generating files asn1, et, idl and proto
files)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
59d4450453 r10336: Add sconscript for a couple more subsystems. 2007-10-10 13:38:29 -05:00
Jelmer Vernooij
994093b08e r9949: Portability fixes for mingw32 2007-10-10 13:36:24 -05:00
Andrew Tridgell
57e6bd6139 r9374: HPUX is also missing setegid() 2007-10-10 13:33:29 -05:00
Andrew Tridgell
5a38b9a10b r9370: need a configure test for setresuid() 2007-10-10 13:33:28 -05:00
Andrew Tridgell
e8260a81cf r9369: an attempt to fix the build on HPUX. This is based on work by Don
McCall, but takes a slightly different approach that I hope will be
more generic
2007-10-10 13:33:28 -05:00
Stefan Metzmacher
adebd56be6 r9063: - don't pollute the global $LIBS variable with -ldl
- -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
2007-10-10 13:31:13 -05:00
Andrew Tridgell
d974bf3589 r8750: drat, on some systems dirfd() is a macro 2007-10-10 13:30:02 -05:00
Andrew Tridgell
ce022e4090 r8749: for completeness, add rewinddir() and dirfd() 2007-10-10 13:30:02 -05:00
Andrew Tridgell
e1bf7c4279 r8746: replace opendir/readdir/telldir/seekdir/closedir on systems where they
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)
2007-10-10 13:30:01 -05:00
Andrew Tridgell
eb3b3c8b40 r8710: another attempt at fixing HPUX 2007-10-10 13:29:56 -05:00
Andrew Tridgell
c84c516b17 r8698: attempt to cope with lack of strtoull() on HPUX 2007-10-10 13:29:55 -05:00
Andrew Tridgell
58d7a1e6a3 r8580: try to fix the build on stratus 2007-10-10 13:29:40 -05:00
Andrew Tridgell
aa9491c0cb r8465: once we define socklen_t, then tell other include files we have it. This prevents roken
trying to redefine it
2007-10-10 13:23:06 -05:00
Andrew Tridgell
3d4a2221c3 r8458: next target is irix - this gets the socket wrapper code building 2007-10-10 13:23:05 -05:00
Andrew Tridgell
30e1b6140e r8450: more configure tests for solaris. It now builds some binaries, but
fails in the ejs floating point code.
2007-10-10 13:23:04 -05:00
Jelmer Vernooij
5b007037df r8437: Win32 doesn't have u_int*_t 2007-10-10 13:23:02 -05:00