]> git.ipfire.org Git - thirdparty/samba.git/log
thirdparty/samba.git
16 years agoRemove the global variable "chain_size"
Volker Lendecke [Fri, 30 Jan 2009 22:44:21 +0000 (23:44 +0100)] 
Remove the global variable "chain_size"

16 years agoMake is_andx_req non-static
Volker Lendecke [Fri, 30 Jan 2009 22:29:37 +0000 (23:29 +0100)] 
Make is_andx_req non-static

16 years agos4:repl_meta_data: fix segfault after ldb changes
Stefan Metzmacher [Sat, 31 Jan 2009 08:44:27 +0000 (09:44 +0100)] 
s4:repl_meta_data: fix segfault after ldb changes

metze

16 years agolib/replace: move MAXHOSTNAMELEN to system/network.h
Stefan Metzmacher [Sat, 31 Jan 2009 08:32:14 +0000 (09:32 +0100)] 
lib/replace: move MAXHOSTNAMELEN to system/network.h

Some platforms define it in netdb.h, so we should
define the replace after including metdb.h.

metze

16 years agos4:heimdal_build: fix the build of asn1_compile and compile_et
Stefan Metzmacher [Sat, 31 Jan 2009 08:04:12 +0000 (09:04 +0100)] 
s4:heimdal_build: fix the build of asn1_compile and compile_et

We should not link in heimdal_build/replace.ho twice.
HEIMDAL_ROKEN has everything we need....

metze

16 years agos4:build: require ldb 0.9.3 when building against an external library
Stefan Metzmacher [Sat, 31 Jan 2009 07:55:49 +0000 (08:55 +0100)] 
s4:build: require ldb 0.9.3 when building against an external library

metze

16 years agoheimdal: void functions should not return a value
Stefan Metzmacher [Sat, 31 Jan 2009 07:53:26 +0000 (08:53 +0100)] 
heimdal: void functions should not return a value

metze

16 years agoExplicitly include ldb_handlers.h where necessary
Simo Sorce [Sat, 31 Jan 2009 01:12:16 +0000 (20:12 -0500)] 
Explicitly include ldb_handlers.h where necessary

16 years agoInstall mising public headers
Simo Sorce [Sat, 31 Jan 2009 01:11:37 +0000 (20:11 -0500)] 
Install mising public headers

16 years agoDo not install private headers
Simo Sorce [Sat, 31 Jan 2009 01:11:16 +0000 (20:11 -0500)] 
Do not install private headers

16 years agoFix proxy module
Simo Sorce [Sat, 31 Jan 2009 01:10:45 +0000 (20:10 -0500)] 
Fix proxy module

16 years agos3 onefs: Fix onefs ACLs to work with updated ACL syscall
Tim Prouty [Fri, 30 Jan 2009 23:19:55 +0000 (15:19 -0800)] 
s3 onefs: Fix onefs ACLs to work with updated ACL syscall

16 years agoBump up ldb version to 0.9.3 after latest changes
Simo Sorce [Fri, 30 Jan 2009 23:17:47 +0000 (18:17 -0500)] 
Bump up ldb version to 0.9.3 after latest changes

16 years agos3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings
Tim Prouty [Fri, 30 Jan 2009 21:53:33 +0000 (13:53 -0800)] 
s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings

16 years agoFix all other modules to use ldb_module.h instead of ldb_private.h
Simo Sorce [Fri, 30 Jan 2009 21:31:19 +0000 (16:31 -0500)] 
Fix all other modules to use ldb_module.h instead of ldb_private.h
The only 2 modules escaping the rule so far are rootdse and partitions

16 years agos4:lib/socket: don't use gethostbyname2()
Stefan Metzmacher [Fri, 30 Jan 2009 21:19:50 +0000 (22:19 +0100)] 
s4:lib/socket: don't use gethostbyname2()

metze

16 years agos4:heimdal_build: heimdal requires u_int32_t and u_char
Stefan Metzmacher [Fri, 30 Jan 2009 21:19:10 +0000 (22:19 +0100)] 
s4:heimdal_build: heimdal requires u_int32_t and u_char

metze

16 years agoFix memleaks
Volker Lendecke [Fri, 30 Jan 2009 20:25:50 +0000 (21:25 +0100)] 
Fix memleaks

16 years agopass NULL to prs_give_memory, that is a pointer
Volker Lendecke [Fri, 30 Jan 2009 20:25:37 +0000 (21:25 +0100)] 
pass NULL to prs_give_memory, that is a pointer

16 years agoselftest: pass down the path to python for provisioning samba4
Stefan Metzmacher [Fri, 30 Jan 2009 19:38:27 +0000 (20:38 +0100)] 
selftest: pass down the path to python for provisioning samba4

metze

16 years agos3:selftest: run the same tests as 'make test'
Stefan Metzmacher [Fri, 30 Jan 2009 13:00:32 +0000 (14:00 +0100)] 
s3:selftest: run the same tests as 'make test'

Only the tests with samba4's smbtorture are missing.

metze

16 years agos3:tests: add a guard arround . $incdir/test_functions.sh
Stefan Metzmacher [Fri, 30 Jan 2009 12:57:24 +0000 (13:57 +0100)] 
s3:tests: add a guard arround . $incdir/test_functions.sh

So that caller can overwrite the functions.

metze

16 years agos3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')
Stefan Metzmacher [Fri, 30 Jan 2009 13:36:48 +0000 (14:36 +0100)] 
s3:smbconftort: don't use reserved words ('test:', 'failure:', 'success:')

Temporary results printfs should not contain reserved subunit words.

metze

16 years agoheimdal:hdb: always include "config.h" first
Stefan Metzmacher [Fri, 30 Jan 2009 18:44:20 +0000 (19:44 +0100)] 
heimdal:hdb: always include "config.h" first

metze

16 years agos4:lib/ldb: include replace.h in pyldb.c
Stefan Metzmacher [Fri, 30 Jan 2009 18:41:33 +0000 (19:41 +0100)] 
s4:lib/ldb: include replace.h in pyldb.c

This fixes the build on Tru64.

metze

16 years agolib/tevent: include replace.h in pytevent.c
Stefan Metzmacher [Fri, 30 Jan 2009 18:39:34 +0000 (19:39 +0100)] 
lib/tevent: include replace.h in pytevent.c

This fixes the build on Tru64.

metze

16 years agolib/tdb: include replace.h and system/filesys.h in pytdb.c
Stefan Metzmacher [Fri, 30 Jan 2009 18:38:59 +0000 (19:38 +0100)] 
lib/tdb: include replace.h and system/filesys.h in pytdb.c

This fixes the build on Tru64.

metze

16 years agolib/talloc: include replace.h in pytalloc.c
Stefan Metzmacher [Fri, 30 Jan 2009 18:38:09 +0000 (19:38 +0100)] 
lib/talloc: include replace.h in pytalloc.c

This fixes the build on Tru64.

metze

16 years agoheimdal:camellia: include roken.h
Stefan Metzmacher [Fri, 30 Jan 2009 18:37:06 +0000 (19:37 +0100)] 
heimdal:camellia: include roken.h

metze

16 years agoRevert "s4:heimdal_build: include "system/network.h" via config.h wrapper"
Stefan Metzmacher [Fri, 30 Jan 2009 18:24:50 +0000 (19:24 +0100)] 
Revert "s4:heimdal_build: include "system/network.h" via config.h wrapper"

This reverts commit 334c6e6b78de8529fce0061efd5249f8fe2d256f.

This breaks the build later in the ntvfs code...

metze

16 years agos4:heimdal_build: add a dummy define for dirfd()
Stefan Metzmacher [Fri, 30 Jan 2009 17:41:34 +0000 (18:41 +0100)] 
s4:heimdal_build: add a dummy define for dirfd()

metze

16 years agolib/replace: check if we have dirfd()
Stefan Metzmacher [Fri, 30 Jan 2009 17:38:00 +0000 (18:38 +0100)] 
lib/replace: check if we have dirfd()

Note: we only use this internally and don't replace it by default.

metze

16 years agos4:lib/util: fix the build
Stefan Metzmacher [Fri, 30 Jan 2009 17:41:07 +0000 (18:41 +0100)] 
s4:lib/util: fix the build

metze

16 years agoheimdal:roken: arg_match_long() should return a value
Stefan Metzmacher [Fri, 30 Jan 2009 17:02:21 +0000 (18:02 +0100)] 
heimdal:roken: arg_match_long() should return a value

This should fix a build problem on IRIX.

metze

16 years agoheimdal:roken: arg_printusage() should not try to return a value.
Stefan Metzmacher [Fri, 30 Jan 2009 16:58:16 +0000 (17:58 +0100)] 
heimdal:roken: arg_printusage() should not try to return a value.

This should fix problems with the IRIX build.

metze

16 years agos4:heimdal_build: include "system/network.h" via config.h wrapper
Stefan Metzmacher [Fri, 30 Jan 2009 16:53:04 +0000 (17:53 +0100)] 
s4:heimdal_build: include "system/network.h" via config.h wrapper

This fixes build problems on Tru64.

metze

16 years agoheimdal:camellia-ntt.c: include config.h as first header
Stefan Metzmacher [Fri, 30 Jan 2009 16:52:37 +0000 (17:52 +0100)] 
heimdal:camellia-ntt.c: include config.h as first header

metze

16 years agoheimdal: don't include <sys/cdefs.h> without knowing it's there
Stefan Metzmacher [Fri, 30 Jan 2009 16:34:49 +0000 (17:34 +0100)] 
heimdal: don't include <sys/cdefs.h> without knowing it's there

metze

16 years agoheimdal: don't include <ifaddrs.h> without knowing it's there
Stefan Metzmacher [Fri, 30 Jan 2009 16:34:00 +0000 (17:34 +0100)] 
heimdal: don't include <ifaddrs.h> without knowing it's there

metze

16 years agos4:build: kill DEFAULT_HEADERS variable
Stefan Metzmacher [Fri, 30 Jan 2009 16:03:10 +0000 (17:03 +0100)] 
s4:build: kill DEFAULT_HEADERS variable

metze

16 years agoAdd helper function to get a module name, may be useful for debugging.
Simo Sorce [Fri, 30 Jan 2009 15:18:52 +0000 (10:18 -0500)] 
Add helper function to get a module name, may be useful for debugging.

16 years agoFix misfiled headers.
Simo Sorce [Fri, 30 Jan 2009 14:24:48 +0000 (09:24 -0500)] 
Fix misfiled headers.
Some public functions were mistakenly put into ldb_private.h
Revert all modules to only include ldb_module.h

16 years agos4:selftest: run RPC-COUNTCALLS as dc:local
Stefan Metzmacher [Fri, 30 Jan 2009 12:33:45 +0000 (13:33 +0100)] 
s4:selftest: run RPC-COUNTCALLS as dc:local

metze

16 years agos4:selftest: run ncalrpc tests in dc:local mode
Stefan Metzmacher [Fri, 30 Jan 2009 09:30:13 +0000 (10:30 +0100)] 
s4:selftest: run ncalrpc tests in dc:local mode

metze

16 years agoselftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH
Stefan Metzmacher [Fri, 30 Jan 2009 10:03:45 +0000 (11:03 +0100)] 
selftest: don't export $CONFIGURATION anymore only $SMB_CONF_PATH

metze

16 years agopidl: fix samba3-cli test after change to cli->dispatch()
Stefan Metzmacher [Fri, 30 Jan 2009 12:22:31 +0000 (13:22 +0100)] 
pidl: fix samba3-cli test after change to cli->dispatch()

metze

16 years agoAdd the "SMBD" rpc transport
Volker Lendecke [Thu, 29 Jan 2009 21:54:55 +0000 (22:54 +0100)] 
Add the "SMBD" rpc transport

The idea of this is that all client utils like smbpasswd and also for example
"net join" do not access our internal databases like passdb and secrets.tdb
directly anymore but pass everything throught the well-established RPC
interfaces.

The way you use this is the following: With rpc_cli_smbd_conn_init() or its
async variant you initialize a "struct rpc_cli_smbd_conn". This structure is
the link to a freshly forked smbd, ready to be used for RPC services. You
should only ever have one such structure in your program. More don't hurt, but
are plainly unnecessary.

If you want to use the SAMR pipe to change a passwort, you connect to that pipe
with rpc_pipe_open_local. Do you normal rpccli_samr calls on that and your
locally forked smbd will connect to passdb for you.

GD, this might make the distinction between the _l and _r calls in libnetapi
mostly unnecessary. At least it is intended to do so... :-)

16 years agoMake rpc_transport_np_init async
Volker Lendecke [Thu, 29 Jan 2009 21:41:33 +0000 (22:41 +0100)] 
Make rpc_transport_np_init async

16 years agoAdd async cli_ntcreate
Volker Lendecke [Mon, 26 Jan 2009 19:45:19 +0000 (20:45 +0100)] 
Add async cli_ntcreate

16 years agoMake cli_tcon_andx async
Volker Lendecke [Mon, 26 Jan 2009 07:37:13 +0000 (08:37 +0100)] 
Make cli_tcon_andx async

16 years agoMake cli_session_setup_guest async
Volker Lendecke [Sun, 25 Jan 2009 20:54:55 +0000 (21:54 +0100)] 
Make cli_session_setup_guest async

16 years agos3-docs: fix typo in eventlogadm manpage.
Günther Deschner [Thu, 22 Jan 2009 18:31:22 +0000 (19:31 +0100)] 
s3-docs: fix typo in eventlogadm manpage.

Guenther

16 years agoselftest: fix "none" test
Stefan Metzmacher [Fri, 30 Jan 2009 09:29:39 +0000 (10:29 +0100)] 
selftest: fix "none" test

metze

16 years agoselftest: fix default option name
Stefan Metzmacher [Fri, 30 Jan 2009 09:01:48 +0000 (10:01 +0100)] 
selftest: fix default option name

metze

16 years agos4:fix the build after 380874ef863866c94c999ef53252b9d30df65e88
Stefan Metzmacher [Fri, 30 Jan 2009 08:36:12 +0000 (09:36 +0100)] 
s4:fix the build after 380874ef863866c94c999ef53252b9d30df65e88

metze

16 years agoselftest: allow environment options
Stefan Metzmacher [Fri, 30 Jan 2009 07:25:27 +0000 (08:25 +0100)] 
selftest: allow environment options

We support "local" and "client" (default) now.
We can decide if we want to run a client against the server
(with a special client.conf) or if we want to run tests localy
on the server with the same config as the server.

metze

16 years agoFix standalone configure scripts
Simo Sorce [Fri, 30 Jan 2009 06:01:05 +0000 (01:01 -0500)] 
Fix standalone configure scripts

16 years agoFix the mess with ldb includes.
Simo Sorce [Thu, 29 Jan 2009 23:39:30 +0000 (18:39 -0500)] 
Fix the mess with ldb includes.
Separate again the public from the private headers.

Add a new header specific for modules.
Also add service function for modules as now ldb_context and ldb_module are
opaque structures for them.

16 years agoFix coverity CID#117 - resource leak in error path.
Jeremy Allison [Fri, 30 Jan 2009 01:56:40 +0000 (17:56 -0800)] 
Fix coverity CID#117 - resource leak in error path.
Jeremy.

16 years agoFix coverity CID#116. Resource leak on error path.
Jeremy Allison [Fri, 30 Jan 2009 01:31:12 +0000 (17:31 -0800)] 
Fix coverity CID#116. Resource leak on error path.
Jeremy.

16 years agoFix coverity CID#115. Resource leak in error path.
Jeremy Allison [Fri, 30 Jan 2009 01:27:47 +0000 (17:27 -0800)] 
Fix coverity CID#115. Resource leak in error path.
Jeremy.

16 years agoFix coverity CID#66. Resource leak in error path.
Jeremy Allison [Fri, 30 Jan 2009 01:16:34 +0000 (17:16 -0800)] 
Fix coverity CID#66. Resource leak in error path.
Jeremy.

16 years agoUpgrade POSIX inheritance storage to a new format (version 2). Stores
Jeremy Allison [Thu, 29 Jan 2009 23:58:50 +0000 (15:58 -0800)] 
Upgrade POSIX inheritance storage to a new format (version 2). Stores
the Windows ACL type and flags if "map acl inherit" is set.
Jeremy.

16 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 29 Jan 2009 23:31:56 +0000 (15:31 -0800)] 
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

16 years agos3 build: Fix "shadows global declaration warning"
Tim Prouty [Thu, 29 Jan 2009 22:50:18 +0000 (14:50 -0800)] 
s3 build: Fix "shadows global declaration warning"

16 years agos3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZE
Tim Prouty [Tue, 27 Jan 2009 01:19:40 +0000 (17:19 -0800)] 
s3 onefs: Add the OneFS implementation of SMB_VFS_GET_ALLOC_SIZE

16 years agos3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation
Tim Prouty [Mon, 26 Jan 2009 23:39:40 +0000 (15:39 -0800)] 
s3: Add a new SMB_VFS_GET_ALLOC_SIZE vfs operation

This allows module implementors to customize what allocation size is
returned to the client.

16 years agoMerge branch 'master' of ssh://jra@git.samba.org/data/git/samba
Jeremy Allison [Thu, 29 Jan 2009 23:27:42 +0000 (15:27 -0800)] 
Merge branch 'master' of ssh://jra@git.samba.org/data/git/samba

16 years agoadd Tru64 sub-second resolution timestamp support
Björn Jacke [Thu, 29 Jan 2009 21:59:00 +0000 (22:59 +0100)] 
add Tru64 sub-second resolution timestamp support

16 years agoadd configure check for Tru64 sub-second timestamp resolution
Björn Jacke [Thu, 29 Jan 2009 20:59:44 +0000 (21:59 +0100)] 
add configure check for Tru64 sub-second timestamp resolution

16 years agos3:proto.h: remove duplicate prototypes.
Michael Adam [Thu, 22 Jan 2009 11:34:43 +0000 (12:34 +0100)] 
s3:proto.h: remove duplicate prototypes.

Michael

16 years agos3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.
Michael Adam [Thu, 22 Jan 2009 09:24:40 +0000 (10:24 +0100)] 
s3:idmap: move IDMAP_VERSION to the idmap tdb backend, where it belogns.

Michael

16 years agos3:build: fix build on AIX - only test for splice on linux
Michael Adam [Thu, 29 Jan 2009 23:16:41 +0000 (00:16 +0100)] 
s3:build: fix build on AIX - only test for splice on linux

Michael

16 years agoAdd the strlen to push to smb_bytes_push_str, return the converted size
Volker Lendecke [Mon, 26 Jan 2009 19:45:09 +0000 (20:45 +0100)] 
Add the strlen to push to smb_bytes_push_str, return the converted size

The pushed strlen replaces the STR_TERMINATE flag which I personally always
find very confusing.

16 years agocli_ucs2
Volker Lendecke [Sun, 25 Jan 2009 20:55:05 +0000 (21:55 +0100)] 
cli_ucs2

16 years agoFix the build on "opi"
Volker Lendecke [Thu, 29 Jan 2009 19:07:58 +0000 (20:07 +0100)] 
Fix the build on "opi"

It did not like to include "includes.h" twice

16 years agoadd missing semicolons
Björn Jacke [Thu, 29 Jan 2009 19:56:51 +0000 (20:56 +0100)] 
add missing semicolons

the fixed configure check led to a missing semicolon in the now activated BSD
code. Then this error was even copypasted into the new AIX code. grrr

16 years agosetting mtime setted atime on BSD systems, fix this
Björn Jacke [Thu, 29 Jan 2009 12:23:26 +0000 (13:23 +0100)] 
setting mtime setted atime on BSD systems, fix this

16 years agoadd AIX sub-second resolution timestamp support
Björn Jacke [Wed, 28 Jan 2009 23:35:26 +0000 (00:35 +0100)] 
add AIX sub-second resolution timestamp support

16 years agoadd configure check for AIX style sub-second resolution support
Björn Jacke [Wed, 28 Jan 2009 23:33:19 +0000 (00:33 +0100)] 
add configure check for AIX style sub-second resolution support

16 years agorather cosmetic fix for failed birthtime configure checks
Björn Jacke [Wed, 28 Jan 2009 23:20:00 +0000 (00:20 +0100)] 
rather cosmetic fix for failed birthtime configure checks

16 years agogive configure check "sub-second timestamps without struct timespec" a chance to...
Björn Jacke [Wed, 28 Jan 2009 23:17:12 +0000 (00:17 +0100)] 
give configure check "sub-second timestamps without struct timespec" a chance to succeed

16 years agos3:configure: autodetect ctdb/cluster support
Stefan Metzmacher [Wed, 28 Jan 2009 16:36:36 +0000 (17:36 +0100)] 
s3:configure: autodetect ctdb/cluster support

We need to make sure ctdb has transaction support
and we autodetect ipv6 support.

metze

16 years agos3:ctdbd_conn: canonicalize ips before sending them to ctdbd
Stefan Metzmacher [Wed, 28 Jan 2009 17:55:13 +0000 (18:55 +0100)] 
s3:ctdbd_conn: canonicalize ips before sending them to ctdbd

This makes samba work with older ctdb versions.

metze

16 years agos3:smbd: make smbd_open_one_socket() static
Michael Adam [Thu, 29 Jan 2009 14:42:10 +0000 (15:42 +0100)] 
s3:smbd: make smbd_open_one_socket() static

Michael

16 years agos3:smbd: ignore open_socket_in() failures
Stefan Metzmacher [Thu, 29 Jan 2009 14:30:38 +0000 (15:30 +0100)] 
s3:smbd: ignore open_socket_in() failures

This restores the pre e0232934fbf69a9e72de1d9844b14d70b34a2d6a
behavior.

metze

16 years agoquote ' inside '...' and make sure shell isn't eating \ by using perl here.
Björn Jacke [Fri, 9 Jan 2009 11:05:55 +0000 (12:05 +0100)] 
quote ' inside '...' and make sure shell isn't eating \ by using perl here.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
16 years agos3: fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested
Michael Adam [Thu, 29 Jan 2009 12:04:01 +0000 (13:04 +0100)] 
s3: fix bug #6073: prevent ads_connect() from using SSL unless explicitly requested

This fixes "net ads join".
It copes with the changed default "ldap ssl = start tls".
A new boolean option "ldap ssl : ads" is added to allow for
explicitly requesting ssl with  ads.

Michael

16 years agos3:selftest: import more tests from 'make test'
Stefan Metzmacher [Thu, 29 Jan 2009 09:30:45 +0000 (10:30 +0100)] 
s3:selftest: import more tests from 'make test'

metze

16 years agoselftest: add "member" environment for Samba3
Stefan Metzmacher [Wed, 28 Jan 2009 20:01:04 +0000 (21:01 +0100)] 
selftest: add "member" environment for Samba3

metze

16 years agos3:seltest: make test_smbclient_s3.sh more strict
Stefan Metzmacher [Thu, 29 Jan 2009 09:29:35 +0000 (10:29 +0100)] 
s3:seltest: make test_smbclient_s3.sh more strict

metze

16 years agoselftest: fix Samba3 bugs
Stefan Metzmacher [Wed, 28 Jan 2009 21:15:44 +0000 (22:15 +0100)] 
selftest: fix Samba3 bugs

metze

16 years agoselftest: Samba4 remove unused variable
Stefan Metzmacher [Wed, 28 Jan 2009 21:13:11 +0000 (22:13 +0100)] 
selftest: Samba4 remove unused variable

metze

16 years agoselftest: abstract Samba3 provision a bit
Stefan Metzmacher [Wed, 28 Jan 2009 19:30:16 +0000 (20:30 +0100)] 
selftest: abstract Samba3 provision a bit

metze

16 years agos3:selftest: fix 'make selftest'
Stefan Metzmacher [Wed, 28 Jan 2009 16:28:51 +0000 (17:28 +0100)] 
s3:selftest: fix 'make selftest'

metze

16 years agos3:selftest: create BUILTIN\\Administrators at startup
Stefan Metzmacher [Wed, 28 Jan 2009 16:24:38 +0000 (17:24 +0100)] 
s3:selftest: create BUILTIN\\Administrators at startup

And add and remove the alias member via net rpc group
instead of net sam.

metze

16 years agoStop installing events.h - it contains a broken include itself and
Jelmer Vernooij [Wed, 28 Jan 2009 16:06:18 +0000 (17:06 +0100)] 
Stop installing events.h - it contains a broken include itself and
should be considered internal now.

16 years agoDefine _GNU_SOURCE, required for comparison_fn_t.
Jelmer Vernooij [Wed, 28 Jan 2009 16:05:56 +0000 (17:05 +0100)] 
Define _GNU_SOURCE, required for comparison_fn_t.

16 years agoAvoid valgrind errors
Volker Lendecke [Tue, 27 Jan 2009 18:45:51 +0000 (19:45 +0100)] 
Avoid valgrind errors

In event handlers, we might destroy other events that are pending in the lists.
We can only run one event safely per select call.

Yes, I've seen these valgrind errors :-)

Jeremy, with ccdd921e61 you had checked in the change to run multiple events.
Do you remember why it was necessary and could not be solved in a different
way?

Volker

16 years agoFix a valgrind error when the socket dies
Volker Lendecke [Tue, 27 Jan 2009 18:41:34 +0000 (19:41 +0100)] 
Fix a valgrind error when the socket dies

Don't reference anything that might have been deleted in the async_req_error
call.