Volker Lendecke
e17371b7f9
r17849: Next round for RPC-SAMBA3-SHARESEC
2007-10-10 14:16:48 -05:00
Volker Lendecke
fd166ca0c0
r17842: After talking to Simo, apply the next attempt to resolve the strnlen
...
problem. Timegm is the same. Simo says this is just a workaround, but it helps
for now. Feel free to revert.
Volker
2007-10-10 14:16:47 -05:00
Volker Lendecke
1de3459082
r17841: Revert 17840, libldb.a defines strnlen. Sorry for the noise
2007-10-10 14:16:47 -05:00
Volker Lendecke
ebf75c6196
r17840: A step towards building on Solaris which appears not to have strnlen.
...
Volker
2007-10-10 14:16:47 -05:00
Stefan Metzmacher
560a3058e5
r17790: replace uses -ldl and should directly depend on it
...
metze
2007-10-10 14:16:43 -05:00
Stefan Metzmacher
dec228be4d
r17789: remove compiler warnings
...
metze
2007-10-10 14:16:43 -05:00
Andrew Tridgell
ed2dbc4dfe
r17763: moved setenv to ldb/replace/
2007-10-10 14:16:38 -05:00
Andrew Tridgell
ac178b5293
r17750: these have moved to ldb/replace/ now
2007-10-10 14:16:36 -05:00
Andrew Tridgell
ad539ec114
r17658: several replacement snprintf() fixes.
...
1) when running the testsuite, actually test against the system
sprintf(), not against ourselves (doh!)
2) fix the buffer termination to terminate buf2 as well
3) fix handling of %llu, and add a simple test
This fixes a bug with password expiry on solaris
2007-10-10 14:16:20 -05:00
James Peach
b3d2512ed4
r16556: Add mkdtemp to libreplace. This is apparantly available on Linux
...
and BSD systems, but it's not everywhere.
2007-10-10 14:09:34 -05:00
Stefan Metzmacher
092e52c518
r16012: do the type checks before anythingelse
...
metze
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
2bda7b63be
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
2007-10-10 14:08:48 -05:00
Stefan Metzmacher
e0e4f86b30
r16001: we don't use u_intX_t any more
...
metze
2007-10-10 14:08:48 -05:00
Jelmer Vernooij
139d9369dc
r15986: Declare struct tm
2007-10-10 14:08:46 -05:00
Andrew Tridgell
acfaa98b5e
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
2007-10-10 14:08:44 -05:00
Andrew Tridgell
dcce824080
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.
2007-10-10 14:08:38 -05:00
Andrew Tridgell
971cead2ad
r15882: I forgot to add in this prototype for strtok_r()
2007-10-10 14:08:37 -05:00
Andrew Tridgell
df5bd916db
r15879: strtok_r() replacement, for solaris
2007-10-10 14:08:36 -05:00
Jelmer Vernooij
3780e0580b
r15868: Add replacement macro for __STRING()
2007-10-10 14:08:34 -05:00
Jim McDonough
d28f49fc6d
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.
2007-10-10 14:08:09 -05:00
Jelmer Vernooij
5205faf898
r15575: Fix getpass test
2007-10-10 14:05:59 -05:00
Jelmer Vernooij
aa6d66fda6
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
2007-10-10 14:05:58 -05:00
Jelmer Vernooij
e9d3660fa6
r15406: Move 'smbreadline' out of libreplace as it doesn't replace functionality
...
not available on some platforms but is a Samba-specific library.
2007-10-10 14:05:33 -05:00
Paul Green
a4d706cf26
r15382: Use grp.h in this block; it has been cleaned out of the other headers that formerly included it for us.
...
Paul
2007-10-10 14:05:30 -05:00
Jelmer Vernooij
68004f68a3
r15377: Remove sys_select() code as it's no longer used.
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
ccc3d8a954
r15375: Rename readline.h to smbreadline.h avoid clashes with system header.
2007-10-10 14:05:29 -05:00
Jelmer Vernooij
c83e4b1665
r15321: Reduce the size of rewrite.m4 a bit more
2007-10-10 14:05:15 -05:00
Jelmer Vernooij
40fb796ad2
r15303: Re-add SMB readline replacement header
2007-10-10 14:05:08 -05:00
Jelmer Vernooij
03224e1124
r15295: Fix some dependencies
...
Move unistr-specific code to lib/charset/. Remove _m from some places where it's not needed.
2007-10-10 14:05:03 -05:00
Stefan Metzmacher
6c5a2b08ca
r15280: - remove the 2nd check for __FUNCTION__
...
- fallback to __func__ if __FUNCTION__ isn't there
metze
2007-10-10 14:05:01 -05:00
Jelmer Vernooij
2f06305e53
r15274: Drop default EXT_LIB_ prefix for external libraries. Fixes issues with local
...
(empty) libpopt.a overriding global one
2007-10-10 14:05:00 -05:00
Jelmer Vernooij
d5d03cdd23
r15226: Fix order of typedef specification - caught by kblin
2007-10-10 14:04:21 -05:00
Jelmer Vernooij
6598efc6b3
r15224: Check whether -MT is actually supported by the compiler before using
...
automatic dependencies
2007-10-10 14:04:20 -05:00
Jelmer Vernooij
adc8a019b6
r15207: Introduce PRIVATE_DEPENDENCIES and PUBLIC_DEPENDENCIES as replacement
...
for REQUIRED_SUBSYSTEMS.
2007-10-10 14:04:18 -05:00
Jelmer Vernooij
a5a648de94
r15203: Allow system 'bool' type to be defined in another header then stdbool.h
2007-10-10 14:04:17 -05:00
Jelmer Vernooij
3f0396aade
r15200: Move MIN/MAX macros to libreplace as some systems have them
...
in sys/param.h
2007-10-10 14:04:16 -05:00
Jelmer Vernooij
76b1576541
r15000: Move some more autoconf tests out of build/m4/rewrite.m4
...
Guarantee availability of __FUNCTION__ in libreplace
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
a5c87360a7
r14999: Remove more unused autoconf code
...
Simplify va_copy() replacement code a bit
2007-10-10 14:04:00 -05:00
Jelmer Vernooij
bfa396a160
r14998: Remove unused autoconf test, move others to proper places
2007-10-10 14:03:59 -05:00
Jelmer Vernooij
bccfddcafa
r14844: Support a stdbool.h replacement in lib/replace/
2007-10-10 13:59:41 -05:00
Jelmer Vernooij
594215d117
r14816: Simplify test for comparison_fn_t
2007-10-10 13:59:23 -05:00
Jelmer Vernooij
9c37f847d3
r14477: Remove the NOPROTO property - it's no longer used as proto.h is gone.
2007-10-10 13:57:30 -05:00
Stefan Metzmacher
f1bdca2383
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
2007-10-10 13:57:26 -05:00
Jelmer Vernooij
3da79bf909
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.
2007-10-10 13:57:14 -05:00
Stefan Metzmacher
ca809a7910
r14240: fix summary output (step 2)
...
we now need to explicit enable external libraries in
*.m4 files again...
metze
2007-10-10 13:57:06 -05:00
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