James Peach
ff2041c955
r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
...
and BSD systems, but it's not everywhere.
(This used to be commit b3d2512ed4 )
2007-10-10 14:09:34 -05:00
Stefan Metzmacher
2176bcc3ab
r16012: do the type checks before anythingelse
...
metze
(This used to be commit 092e52c518 )
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
c62d1d21ab
r16003: Tru64 doesn't have strtoll/strtoull but the size of 'long' is equal to
...
the size of 'long long' so we can use strtol/strtoul
Patch from Bjoern Jacke, thanks!
(I only added the SIZEOF_LONG == SIZEOF_LONG_LONG)
metze
(This used to be commit 2bda7b63be )
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
b17ee8feb7
r16001: we don't use u_intX_t any more
...
metze
(This used to be commit e0e4f86b30 )
2007-10-10 14:08:48 -05:00
Jelmer Vernooij
49b29f67d4
r15986: Declare struct tm
...
(This used to be commit 139d9369dc )
2007-10-10 14:08:46 -05:00
Andrew Tridgell
0a1a19d9d9
r15953: our timegm() replacement still doesn't work, so grab the one from
...
Heimdal which does work. This should fix most of the rest of the
failures on solaris
(This used to be commit acfaa98b5e )
2007-10-10 14:08:44 -05:00
Andrew Tridgell
33ffb31a49
r15896: we're getting a lot of crashes on the build farm due to people
...
assuming that printf("%s", NULL) is OK. The problem is that it is ok
with recent versions of glibc, so the bug isn't noticed by most
developers.
This configure change ensures that we replace snprintf() if it doesn't
handle NULL strings. Then we just need to make sure we use d_printf()
instead of printf() in torture tests to display possibly NULL strings.
(This used to be commit dcce824080 )
2007-10-10 14:08:38 -05:00
Andrew Tridgell
aa01252bb3
r15882: I forgot to add in this prototype for strtok_r()
...
(This used to be commit 971cead2ad )
2007-10-10 14:08:37 -05:00
Andrew Tridgell
01b8c1913d
r15879: strtok_r() replacement, for solaris
...
(This used to be commit df5bd916db )
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
548927d79b
r15868: Add replacement macro for __STRING()
...
(This used to be commit 3780e0580b )
2007-10-10 14:08:34 -05:00
Jim McDonough
96a858b5cd
r15719: Fix build on systems (AIX) that don't have vsyslog or strcasestr, with
...
--enable-developer on. syslog() and toupper() required more includes.
Someone more familiar with samba4 builds should verify this, please.
(This used to be commit d28f49fc6d )
2007-10-10 14:08:09 -05:00
Jelmer Vernooij
7403d50358
r15575: Fix getpass test
...
(This used to be commit 5205faf898 )
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
172a83d724
r15573: Fix build of systems that have iconv headers in non-standard locations
...
Split of system/locale.h header from system/iconv.h
Previously, iconv wasn't being used on these systems
(This used to be commit aa6d66fda6 )
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
72a5cbadc1
r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
...
not available on some platforms but is a Samba-specific library.
(This used to be commit e9d3660fa6 )
2007-10-10 14:05:33 -05:00
Paul Green
ec83aa3fda
r15382: Use grp.h in this block; it has been cleaned out of the other headers that formerly included it for us.
...
Paul
(This used to be commit a4d706cf26 )
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
66a4c270d4
r15377: Remove sys_select() code as it's no longer used.
...
(This used to be commit 68004f68a3 )
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
e595ede02f
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
...
(This used to be commit ccc3d8a954 )
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
e572bbb94c
r15321: Reduce the size of rewrite.m4 a bit more
...
(This used to be commit c83e4b1665 )
2007-10-10 14:05:15 -05:00
Jelmer Vernooij
4818967242
r15303: Re-add SMB readline replacement header
...
(This used to be commit 40fb796ad2 )
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
8d137d9785
r15295: Fix some dependencies
...
Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed.
(This used to be commit 03224e1124 )
2007-10-10 14:05:03 -05:00
Stefan Metzmacher
81d3f8e8a1
r15280: - remove the 2nd check for __FUNCTION__
...
- fallback to __func__ if __FUNCTION__ isn't there
metze
(This used to be commit 6c5a2b08ca )
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
0d5587b5d1
r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
...
(empty) libpopt.a overriding global one
(This used to be commit 2f06305e53 )
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
6bbd3b3360
r15226: Fix order of typedef specification - caught by kblin
...
(This used to be commit d5d03cdd23 )
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
847e80dee9
r15224: Check whether -MT is actually supported by the compiler before using
...
automatic dependencies
(This used to be commit 6598efc6b3 )
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
69b51f702a
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
(This used to be commit adc8a019b6 )
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
94af743baa
r15203: Allow system 'bool' type to be defined in another header then stdbool.h
...
(This used to be commit a5a648de94 )
2007-10-10 14:04:17 -05:00
Jelmer Vernooij
e2e3a8e007
r15200: Move MIN/MAX macros to libreplace as some systems have them
...
in sys/param.h
(This used to be commit 3f0396aade )
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
4ab73d6045
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
...
Guarantee availability of __FUNCTION__ in libreplace
(This used to be commit 76b1576541 )
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
4a61e4901e
r14999: Remove more unused autoconf code
...
Simplify va_copy() replacement code a bit
(This used to be commit a5c87360a7 )
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
69979ddc6e
r14998: Remove unused autoconf test, move others to proper places
...
(This used to be commit bfa396a160 )
2007-10-10 14:03:59 -05:00
Jelmer Vernooij
c50125f6ef
r14844: Support a stdbool.h replacement in lib/replace/
...
(This used to be commit bccfddcafa )
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
45e4982cca
r14816: Simplify test for comparison_fn_t
...
(This used to be commit 594215d117 )
2007-10-10 13:59:23 -05:00
Jelmer Vernooij
71b4fd9792
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
...
(This used to be commit 9c37f847d3 )
2007-10-10 13:57:30 -05:00
Stefan Metzmacher
9eb691c4c5
r14445: add FILE_NOTIFY_CHANGE_STREAM_* flags from:
...
http://ubiqx.org/cifs/rfc-draft/draft-leach-cifs-v1-spec-02.html#s4.3.7
tridge: there's also the buffering documented...
metze
(This used to be commit f1bdca2383 )
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
7a121583b4
r14349: Kill proto.h!
...
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 3da79bf909 )
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
33647bd841
r14240: fix summary output (step 2)
...
we now need to explicit enable external libraries in
*.m4 files again...
metze
(This used to be commit ca809a7910 )
2007-10-10 13:57:06 -05:00
Simo Sorce
4b476ff4fb
r13592: Incredible how bugs like this can sweep in even after peer review and testing ...
...
(This used to be commit 8483f61a1d )
2007-10-10 13:51:58 -05:00
Jelmer Vernooij
595702c9fa
r13577: Move some (possibly system-defined) defines to replace.h
...
(This used to be commit 2b3d56e153 )
2007-10-10 13:51:57 -05:00
Andrew Tridgell
4c78d1bfa2
r13401: remove the rename of the snprintf functions that simo accidentially
...
included in his last commit
(This used to be commit 487b374b43 )
2007-10-10 13:51:52 -05:00
Simo Sorce
b8a9bec662
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
(This used to be commit 398f989d65 )
2007-10-10 13:51:51 -05:00
Stefan Metzmacher
073866887d
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
(This used to be commit 32f2cf433f )
2007-10-10 13:49:59 -05:00
Jelmer Vernooij
5c8447773f
r12801: Some more include/ cleanups (remove unused macros + move files
...
to specific dirs)
(This used to be commit 243cf760b0 )
2007-10-10 13:49:57 -05:00
Jelmer Vernooij
46aa296cc9
r12592: Remove some useless dependencies
...
(This used to be commit ca8db1a0cd )
2007-10-10 13:49:00 -05:00
Jelmer Vernooij
d8e35f8828
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.
(This used to be commit b24f2583ed )
2007-10-10 13:47:45 -05:00
Stefan Metzmacher
64b611a18e
r12364: add UINT32_MAX and UINT64_MAX replacement defines
...
(hopefully fix the build on OpenBSD)
metze
(This used to be commit cbe06ade21 )
2007-10-10 13:47:31 -05:00
Jelmer Vernooij
efe67458c1
r12216: Couple of small fixes: reduce include/includes.h a bit, simplify headers
...
in build/smb_build/, remove unused pstring macros
(This used to be commit 4322962074 )
2007-10-10 13:47:19 -05:00
Jeremy Allison
931b1974a2
r11797: Added OpenSSH fix for "%.*s" format crash. From Darren Tucker
...
<dtucker@zip.com.au >
Jeremy.
(This used to be commit a2006c1628 )
2007-10-10 13:46:29 -05:00
Jelmer Vernooij
a4e7bf3a89
r11382: Require number of required M4 macros
...
Make MODULE handling a bit more like BINARY, LIBRARY and SUBSYSTEM
Add some more PUBLIC_HEADERS
(This used to be commit 875eb8f4cc )
2007-10-10 13:45:29 -05:00
Jelmer Vernooij
10ec7dd61f
r11343: Remove dependency on DEBUG()
...
(This used to be commit 407b5e615f )
2007-10-10 13:45:21 -05:00
Jelmer Vernooij
4c5a4a7e02
r11244: Relative path names in .mk files
...
(This used to be commit 24e1030090 )
2007-10-10 13:45:06 -05:00