Stefan Metzmacher
946573aaed
tevent: raise version to 0.9.3
...
- aio events are removed
- tevent_req infrastructure was added
metze
2009-02-13 18:55:21 +01:00
Stefan Metzmacher
113651c517
lib/tevent: add tevent_req infrastructure
...
This is almost a copy of the async_req code,
which will be removed later.
metze
2009-02-13 18:37:01 +01:00
Stefan Metzmacher
f337974ed5
lib/tevent: add tevent_req.c as copy of lib/async_req/async_req.c
...
metze
2009-02-13 16:02:14 +01:00
Stefan Metzmacher
fa2461ae73
lib/tevent: expose ev_timeval_zero() for internal usage
...
metze
2009-02-13 16:02:14 +01:00
Stefan Metzmacher
1d949fe742
lib/tevent: remove broken tevent_aio support
...
It makes no sense to support aio events because,
the current implementation was based on IOCB_CMD_EPOLL_WAIT
which never made it into the main kernel tree.
The native linux aio can be used with select/epoll
using eventfd(), which means we can implement aio
with fd events and implement aio outside of tevent.
metze
2009-02-13 16:02:13 +01:00
Volker Lendecke
0844cca1d5
Replace get_myname() with the talloc version from v3-3-test
2009-02-13 12:15:03 +01:00
Volker Lendecke
c2f7f1b40b
Fix Coverity ID 707 (RESOURCE_LEAK)
2009-02-13 10:21:03 +01:00
Björn Jacke
dc9387ec42
enable IPv6 support for NetBSD, FreeBSD
...
most systems include netinet/in.h via netdb.h but *BSD don't.
2009-02-11 10:19:12 -08:00
Tim Prouty
1696298aad
s3 async: Fix the build on systems that have ETIMEDOUT but not ETIME
...
Fallback on EAGAIN
2009-02-09 13:23:44 -08:00
Jelmer Vernooij
0afa0ab442
Revert "s3/s4: Move CONST_DISCARD into lib/util so it's available from s3 and s4"
...
lib/util already has discard_const_p.
This reverts commit 0cb430c22e9c0af2248fbc15ce97a4d760df189d.
2009-02-09 17:48:30 +01:00
Kai Blin
b8cafc5ad2
async_sock: Map ASYNC_REQ_TIMEOUT to ETIMEDOUT instead of ETIME
...
Also, fall back to EIO if ETIMEDOUT is not present
2009-02-09 12:13:58 +01:00
Kai Blin
c3b9b6c8aa
async_sock: Use unix errnos instead of NTSTATUS
...
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would
be pointless to convert to errno first and to wbcErr later.
2009-02-09 08:36:08 +01:00
Stefan Metzmacher
e6bb55c3d5
lib/tdb: don't generate a static library for the samba4 build
...
We also don't do this for talloc and ldb.
metze
2009-02-03 10:24:38 +01:00
Volker Lendecke
d3f9b0fab6
Next step disentangling async_req from NTSTATUS
...
Now I need to document this :-)
2009-02-02 20:15:03 +01:00
Volker Lendecke
cfc27ece10
Attempt to fix "make test" on host "tridge"
2009-02-02 15:39:13 +01:00
Stefan Metzmacher
886df1ac86
lib/tevent: the python bindings don't use swig anymore
...
metze
2009-02-02 15:16:08 +01:00
Stefan Metzmacher
662e05f7a9
lib/tdb: the python bindings don't use swig anymore
...
metze
2009-02-02 15:16:08 +01:00
Stefan Metzmacher
8249a467e3
lib/tevent: s/private/private_data
...
metze
2009-02-02 13:09:18 +01:00
Stefan Metzmacher
48a0721606
lib/util: s/new/pn in idtree.c
...
metze
2009-02-02 13:09:16 +01:00
Stefan Metzmacher
5e6e370c4e
lib/util: s/class/dclass
...
metze
2009-02-02 13:09:16 +01:00
Simo Sorce
10c907bcdb
Fix headers, only ldb.h is required
2009-02-01 13:06:13 -05:00
Volker Lendecke
c14b7e648b
Split up async_req into a generic and a NTSTATUS specific part
2009-02-01 19:05:39 +01:00
Stefan Metzmacher
412b89afba
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
2009-01-31 09:32:14 +01:00
Simo Sorce
de4f7c0787
Do not install private headers
2009-01-30 20:12:50 -05:00
Tim Prouty
2c2545d45a
s3 build: Remove unused fstat check to fix a bunch of HAVE_FSTAT warnings
2009-01-30 14:41:07 -08:00
Stefan Metzmacher
84ca20a6b5
lib/tevent: include replace.h in pytevent.c
...
This fixes the build on Tru64.
metze
2009-01-30 19:39:34 +01:00
Stefan Metzmacher
3718cf294a
lib/tdb: include replace.h and system/filesys.h in pytdb.c
...
This fixes the build on Tru64.
metze
2009-01-30 19:38:59 +01:00
Stefan Metzmacher
2f8a398296
lib/talloc: include replace.h in pytalloc.c
...
This fixes the build on Tru64.
metze
2009-01-30 19:38:09 +01:00
Stefan Metzmacher
c28952c555
lib/replace: check if we have dirfd()
...
Note: we only use this internally and don't replace it by default.
metze
2009-01-30 18:42:08 +01:00
Stefan Metzmacher
24a1b556fc
s4:lib/util: fix the build
...
metze
2009-01-30 18:42:08 +01:00
Stefan Metzmacher
94cb0835ca
s4:build: kill DEFAULT_HEADERS variable
...
metze
2009-01-30 17:38:40 +01:00
Simo Sorce
4e0a619701
Fix standalone configure scripts
2009-01-30 01:02:23 -05:00
Jeremy Allison
77bac5b78c
Fix coverity CID#66. Resource leak in error path.
...
Jeremy.
2009-01-29 17:16:34 -08:00
Kai Blin
ab63bad94b
async_sock: Move to top level
2009-01-28 11:35:32 +01:00
Michael Adam
86ed67f073
libreplace: fix detection of netinet/ip.h on solaris 8
...
(The test needs to additionally include <netinet/in_systm.h>.)
Michael
2009-01-27 15:48:54 +01:00
Stefan Metzmacher
920f8b1568
tevent: change SA_INFO_QUEUE_COUNT from 10 to 100
...
The samba3 aio code requires lp_max_mux() with a default of 50
and the samba3 linux oplock code requires 100.
May we could make the size dynamic later.
metze
2009-01-27 15:28:06 +01:00
Kai Blin
a7e620522e
async_req: Fix the S4 build
2009-01-27 12:38:11 +01:00
Michael Adam
cdab2a4127
libreplace: fix bug #6066 - netinet/ip.h present but cannot be compiled
...
under solaris
Michael
2009-01-27 12:38:01 +01:00
Kai Blin
481183ab02
s4: add ../lib/async_req to the s4 build
2009-01-23 17:57:33 +01:00
Kai Blin
85b36d95fb
async_req: Move to top level dir
2009-01-23 17:57:33 +01:00
Stefan Metzmacher
7fc7ee9331
lib/replace: add defines to let the callers find out if pwrite and pread are thread/fork safe
...
metze
2009-01-22 12:39:34 +01:00
Jelmer Vernooij
b711faa53f
libsmbconf: Remove use of some Samba3-specific macros.
2009-01-21 18:50:16 +01:00
Jelmer Vernooij
97ff9d479a
libsmbconf: Add build magic for Samba 4.
2009-01-21 18:50:02 +01:00
Michael Adam
a868d2f3d5
libsmbconf: move the non-registry parts of libsmbconf to top level
...
Michael
2009-01-21 18:40:58 +01:00
Stefan Metzmacher
bd576b93bd
socket_wrapper: fix PCAP support broken by aaea68791cfea45c6fa69abc93ad6d0e832d0283
...
We should note close the fd after writing the first packet.
metze
2009-01-20 00:42:01 +01:00
Stefan Metzmacher
3347ed7e6e
tevent: rename signal handler functions to start with tevent_common_
...
This makes debugging with gdb easier.
metze
2009-01-20 00:40:40 +01:00
Stefan Metzmacher
9967907190
util_str: setup the correct talloc name for strings
...
metze
(partly from samba4wins tree 447e7f9532131117e896712db9def321c96718eb)
2009-01-19 07:05:21 +01:00
Günther Deschner
87fec1450f
lib: add strlen_m_term_null from s3.
...
Guenther
2009-01-16 00:28:45 +01:00
Jelmer Vernooij
0cbce777a3
Fix indentation for some configure options.
2009-01-15 21:17:56 +01:00
Michael Adam
6f53a487b4
nss_wrapper.pl: fix "Use of uninitialized value $i in array element" messages
...
I just saw this in "make test" after "SMBD OUTPUT:"...
Michael
2009-01-12 13:04:40 +01:00