1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

53 Commits

Author SHA1 Message Date
Jelmer Vernooij
98b57d5eb6 r25035: Fix some more warnings, use service pointer rather than service number in more places.
(This used to be commit df9cebcb97)
2007-10-10 15:05:43 -05:00
Andrew Bartlett
f8219ec5a8 r23961: Allow SWAT to operate on x86_64 machines.
On machines with a 4 byte int, and a 8 byte pointer, the ESP could would fail.

The problem is that 0 != NULL.  0 is an int (4 bytes) and NULL is a
pointer (8), and this matters critically to varargs functions.

If a 0 was passed as the 'terminating' argument, then only 4 bytes
would be written to the stack, but va_arg(ap, char *) would try and
pull 8, reading uninitalised memory.

Andrew Bartlett
(This used to be commit 72ca8e3b2a)
2007-10-10 15:01:11 -05:00
Stefan Metzmacher
71a141ad53 r23294: try to fix the build
metze
(This used to be commit 04f19c054e)
2007-10-10 14:53:09 -05:00
Derrell Lipman
43470b5ec3 r20444: WEB Application framework / SWAT.
We're now at the stage where the web application framework should build and
install automatically.

Derrell
(This used to be commit 0201baef46)
2007-10-10 14:30:39 -05:00
Jelmer Vernooij
8773e743c5 r19339: Merge my 4.0-unittest branch. This adds an API for more fine-grained
output in the testsuite rather than just True or False for a
set of tests.

The aim is to use this for:
 * known failure lists (run all tests and detect tests that
						started working or started failing). This
   would allow us to get rid of the RPC-SAMBA3-* tests
 * nicer torture output
 * simplification of the testsuite system
 * compatibility with other unit testing systems
 * easier usage of smbtorture (being able to run one test
						and automatically set up the environment for that)

This is still a work-in-progress; expect more updates over the next couple of
days.
(This used to be commit 0eb6097305)
2007-10-10 14:21:12 -05:00
Derrell Lipman
a9a532aa0c r19022: eliminate a warning
(This used to be commit d48b2d8305)
2007-10-10 14:20:29 -05:00
Derrell Lipman
deca12d7be r19021: match the prototype for a trigger function
(This used to be commit f2f1918915)
2007-10-10 14:20:29 -05:00
Derrell Lipman
77e8402dd6 r18925: Add current snapshot of the ejs-2.0 code. Tridge, will you be incorporating this?
(This used to be commit 917af234a8)
2007-10-10 14:20:21 -05:00
Andrew Tridgell
30ee8beb93 r18301: I discovered how to load the warnings from a build farm build into
emacs compile mode (hint, paste to a file, and compile as "cat
filename").

This allowed me to fix nearly all the warnings for a IA_64 SuSE build
very quickly.
(This used to be commit eba6c84eff)
2007-10-10 14:18:04 -05:00
Stefan Metzmacher
a5d1826677 r16010: deal with the case that int64,uint64 are already typedef'ed
metze
(This used to be commit 07b014f770)
2007-10-10 14:08:50 -05:00
Stefan Metzmacher
4b74445676 r16002: fix the build on solaris
Patch from Bjoern Jacke, thanks!

metze
(This used to be commit 1250355909)
2007-10-10 14:08:48 -05:00
Jelmer Vernooij
cf0f4ec073 r15358: Fix some compiler warnings / type safety. Found by tcc
(This used to be commit 12ba42de58)
2007-10-10 14:05:25 -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
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
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
Andrew Tridgell
b4aa2ec6ba r14984: marking mprBreakpoint() as a __noreturn__ function should reduce the
number of ejs errors from the IBM checker
(This used to be commit 68038ef566)
2007-10-10 14:00:51 -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
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
Jelmer Vernooij
f8fdbc967c r13944: Yet another round of splitups.
(This used to be commit f87debeb12)
2007-10-10 13:52:31 -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
70e9e843cb r11611: don't use unions without a instance name, not all compilers support that...
fix the build with cc on IRIX 6.5 us4

tridge: we should post this to the appweb maintainers, also with my
        hex constant fix from a few weeks ago!

metze
(This used to be commit 5cc44994fb)
2007-10-10 13:45:58 -05:00
Andrew Tridgell
9aa3c44f70 r11456: fixed a ejs parser bug for delete() statements
(This used to be commit b8694c58f5)
2007-10-10 13:45:39 -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
Jelmer Vernooij
f4d590662e r11214: Remove scons files (see http://lists.samba.org/archive/samba-technical/2005-October/043443.html)
(This used to be commit 7fffc5c917)
2007-10-10 13:45:03 -05:00
Stefan Metzmacher
5f6a3213e2 r11084: - allow hex numbers with 'a'...'f' digits to be parsed
- parse hex numbers correct

tridge: how could we submit this to the upstream appweb library?

metze
(This used to be commit 70cde83c13)
2007-10-10 13:44:45 -05:00
Jelmer Vernooij
5058f4b9e8 r10586: Add MergedObject() builder. Default to Library() rather
then StaticLibrary()
(This used to be commit b53313dc51)
2007-10-10 13:39:08 -05:00
Jelmer Vernooij
6812c73534 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)
(This used to be commit 4f0d7f75b9)
2007-10-10 13:38:30 -05:00
Jelmer Vernooij
b674411eb4 r9792: Rename StrCaseCmp -> strcasecmp_m. All these years I was thinking
StrCaseCmp was sys_strcasecmp, while it is in fact strcasecmp_m!
(This used to be commit 200a8f6652)
2007-10-10 13:35:01 -05:00
Andrew Tridgell
2dc45bd484 r9600: fixed the intermittent failures we were getting with ejs in the build
farm.
(This used to be commit b23bffcba6)
2007-10-10 13:34:33 -05:00
Andrew Tridgell
8f9478b09d r9504: use some low level ejs hackery to give much better exception error messages in both
the web server and smbscript. We can now give backtraces for all internal asserts, not
just high level errors
(This used to be commit 84c756b25c)
2007-10-10 13:34:23 -05:00
Andrew Tridgell
81556a9078 r9464: fixed a problem with child pointers copied into non-allocated mpr variables. We
now use the same free technique as is used for mpr strings, rather than relying on
being a child of the variable
(This used to be commit 3d6739eaa6)
2007-10-10 13:34:18 -05:00
Steve French
56aadf82af r9311: Missing null pointer check in ejsLib
Found by coverity
(This used to be commit ae7b073af3)
2007-10-10 13:33:23 -05:00
Andrew Tridgell
1774019fc2 r9299: fixed the evaluation of pointer expressions that evaluate to boolean
(This used to be commit 17679676d4)
2007-10-10 13:33:22 -05:00
Andrew Tridgell
a663d21106 r9183: more workarounds for the global variables in ejs. I will discuss getting rid of these
with the mbedthis people.
(This used to be commit a5b9e74a5c)
2007-10-10 13:31:29 -05:00
Andrew Tridgell
f13fbd7e6f r9173: catch ep->local being NULL
(This used to be commit 9f75bc3ca0)
2007-10-10 13:31:28 -05:00
Andrew Tridgell
f9e0b8aca5 r9172: - fixed a nasty bug in the 'deep copy' mpr code that caused variables
called 'credentials' to not copy correctly (the bug was in handling
  of chaining in the copy code

- ensure that C pointer variables are copied via a talloc reference so that
  we can persist rpc pipes and credentials between sessions
(This used to be commit ca6f049693)
2007-10-10 13:31:27 -05:00
Andrew Tridgell
d55b75d833 r8696: fixed ejs to more strictly follow the va_list rules. Might fix that
pesky panic on x86_64
(This used to be commit 80177b29f4)
2007-10-10 13:29:55 -05:00
Andrew Tridgell
04598d3832 r8684: this should fix the panic on x86_64, and possibly alpha
(This used to be commit c2f5884e2f)
2007-10-10 13:29:54 -05:00
Andrew Tridgell
5e9988708f r8651: fixed a boolean expression bug (submitted upstream)
(This used to be commit bd4c388cd2)
2007-10-10 13:29:50 -05:00
Andrew Tridgell
3473f6b74b r8631: give an error on incorrect argument count
(This used to be commit ed09e19794)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
6f48b3a5cb r8630: give a much nicer backtrace on assert() failures in ejs
I will submit this upstream
(This used to be commit a2266f6927)
2007-10-10 13:29:46 -05:00
Andrew Tridgell
cd65f29fc6 r8599: null terminate the argv list in string C functions
(This used to be commit cabf638a31)
2007-10-10 13:29:43 -05:00
Andrew Tridgell
2d92eca393 r8562: small merge with upstream
(This used to be commit 6c9bf162af)
2007-10-10 13:29:38 -05:00
Andrew Tridgell
a0bc4da1a3 r8483: switched our generated ejs rpc code over to the new OO interface. This
means we don't pollute the name space, and also makes for faster
startup times as we only create variables for the pipes that we use,
not all pipes
(This used to be commit 57d7a585e8)
2007-10-10 13:23:08 -05:00
Andrew Tridgell
61b16caed8 r8466: it is not portable to assert() a va_list (it breaks on alpha for example)
(This used to be commit 2a64ee4227)
2007-10-10 13:23:06 -05:00
Andrew Tridgell
978bbb4f4d r8461: fixed integer64 handling on bit endian platforms. The ejs code used
%Ld, which is an invalid format code.

This will probably cause problems on systems that don't have %lld, but
do have a working snprintf otherwise. We will need to expand the
snprintf configure test to make sure we replace snprintf on those
platforms
(This used to be commit ccc87eb8aa)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
598aafe9b3 r8453: my solaris10 box doesn't have math.h
maybe sun isn't very good at maths?
(This used to be commit ab67c8b2b7)
2007-10-10 13:23:05 -05:00
Andrew Tridgell
fa2b97a20a r8451: samba4 finally builds on solaris 8 sparc with heimdal and ejs
its been a long haul ...
(This used to be commit 3c4291e49a)
2007-10-10 13:23:04 -05:00
Andrew Tridgell
74727243cd r8405: update var.c from upstream
(This used to be commit 288c178d5f)
2007-10-10 13:22:58 -05:00
Andrew Tridgell
8fc8fa2ad4 r8404: small upstream merges of appweb code
(This used to be commit 205ff9a82b)
2007-10-10 13:22:58 -05:00