Volker Lendecke
c7522804a5
Do the formatting change in all 3 places :-)
...
(This used to be commit d32066eaef1d09ec41fd5365e18eacd93e485d53)
2008-02-25 09:55:53 +01:00
Volker Lendecke
90ad42fad3
Fix confusing error message -- bug 5252
...
Thanks to Walter Franzini
(This used to be commit 19de47fef1b35c47885acc40760a232e4643079c)
2008-02-25 09:51:33 +01:00
Volker Lendecke
fcee8fee63
Allow "max mux" async i/o requests
...
In the negprot reply, we allowed the client to issued "max mux" concurrent
requests. The OS might allow less, for example AFAIK AIX has a configurable
limit of concurrent AIO requests. We will fall back to sync operation for the
requests that are too many when aio_read/aio_write return an error.
Jeremy, please check!
(This used to be commit 8f86f7f25c4eb71bbdfcc6bf2d12eaaae9a8d9ec)
2008-02-24 11:39:59 +01:00
Volker Lendecke
21b6a03678
Export aio_request_done()
...
This is for external modules implementing the Posix AIO API that not
necessarily depend on the signal mechanism to indicate completion.
(This used to be commit 9a069d306bb6f8a2cd51b8ba87b433884942d13f)
2008-02-24 11:39:57 +01:00
Michael Adam
658b72916f
Fix aix-build of libtalloc.so by exporting all necessary symbols.
...
Use -bexpfull instead of -bexpall for LDSHFLAGS to also export
symbols starting with "_". This exports all necessary symbols
from libtalloc.so.
Michael
(This used to be commit 213ba3a719e77979c04b872f1d82f68e87287cb0)
2008-02-24 01:00:39 +01:00
Volker Lendecke
db9db9cef9
AIO on streams does not work (yet...)
...
(This used to be commit 1ba223f202a070a695581e0d7161473a3ebf4332)
2008-02-24 00:05:40 +01:00
Volker Lendecke
a5e43bc817
Fix typo
...
(This used to be commit 621db68f32f7007de8b2c4d7cf604a5778725615)
2008-02-23 21:40:39 +01:00
Volker Lendecke
44b2ba6880
Fix a C++ warning
...
(This used to be commit c4cab9e1c1f4975d970665f85838b2dea023d5fc)
2008-02-23 11:04:13 +01:00
Volker Lendecke
6548493de7
Fix a C++ warning
...
(This used to be commit ac027a9b2e84d319f961ac0e84654a0e48920138)
2008-02-23 11:04:13 +01:00
Volker Lendecke
fdf4e84e2b
Check return value of pipe(2)
...
(This used to be commit 49da21c03a1a5801fba4b12837cccf2887e0d8f0)
2008-02-23 11:04:13 +01:00
Volker Lendecke
333c0aabc9
Check return value of dup(2)
...
(This used to be commit d34701d49cf5b30f5b9963dab5643b4b62704413)
2008-02-23 11:04:13 +01:00
Volker Lendecke
6dfb2614d8
Fix a C++ warning
...
(This used to be commit d993b4c3cea6ead74ff1e031ee9a42f2aa39a9f1)
2008-02-23 11:04:13 +01:00
Volker Lendecke
cef18563bb
Check the return value of fgets
...
(This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
2008-02-23 11:04:13 +01:00
Volker Lendecke
9712e3c11c
make idl: Check return value of asprintf
...
(This used to be commit d9fb7d7bdcd0e54838ff0b1cb64a7e75d8cd726a)
2008-02-23 10:54:59 +01:00
Jeremy Allison
29d70de83c
Fix "used uninitialized" errors.
...
Jeremy.
(This used to be commit 06d15d8a9f94a50337ebf6f651a004bb8b4821f3)
2008-02-22 16:19:59 -08:00
Jeremy Allison
6cdd527fed
Fix debug messages.
...
Jeremy.
(This used to be commit d265cedb55b07c6b8a13b9632fbdf8a05fbba886)
2008-02-22 16:12:57 -08:00
Jeremy Allison
49a367ed32
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit bcc5371b8e7f369e8d830d9cf687089514997248)
2008-02-22 13:38:03 -08:00
Simo Sorce
d88e40106f
Make sure mount.cifs.c compiles on Fedora 9 with gcc 4.3
...
(This used to be commit ce57d388251063c22f89680e9d1c2129d9879975)
2008-02-22 14:10:28 -05:00
Volker Lendecke
14aa57a9e3
Don't use fname after create_file has been called
...
create_file calls unix_convert internally, so modifies fname. So we can't use
"fname" after create_file has returned. Use fsp->fsp_name instead.
Found during a lengthy debugging session with Karolin testing the xattr_tdb
module...
(This used to be commit 183fe570469963923864b732817a87f8660341ed)
2008-02-22 17:15:09 +01:00
Michael Adam
0f0998a06b
libreplace: don't use socketwrapper for getifaddrs() implementations.
...
Michael
(This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
2008-02-22 14:13:28 +01:00
Michael Adam
6a27493578
libreplace: Fix comment originating from old samba source.
...
Michael
(cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
(This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
2008-02-22 10:48:18 +01:00
Michael Adam
e033fdbde2
Not all implementations of struct ifaddrs define ifa_broadaddr.
...
E.g. the definition of libreplace doesn't. :-o
Michael
(This used to be commit 25341602ec8752e19ab993872dc2f6c4762785ff)
2008-02-22 10:43:42 +01:00
Michael Adam
5c6db777e4
Remove the implementations of _get_interfaces and autoconf test in interfaces.c
...
getifaddrs() is now provided by libreplace.
Michael
(This used to be commit 7970901223464745f99cea883b180316189e4b2c)
2008-02-22 01:59:45 +01:00
Michael Adam
cc32d4c316
libreplace: fix creation of conftest files for getifaddrs tests.
...
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.
Michael
(This used to be commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
2008-02-22 00:36:20 +01:00
Michael Adam
e3d1f512cf
Fix linked list of ifaddrs in implementations of rep_getifaddrs.
...
Produce proper list instead of one-node-loop.
Michael
(This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
2008-02-22 00:36:20 +01:00
Michael Adam
e2ec7931ff
Add missing initalizations of lastif in rep_getifaddr implementations.
...
Michael
(This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
2008-02-22 00:36:20 +01:00
Jeremy Allison
5df1d8d550
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit 9dabde1f3e5ba3d98e4e02d8c2a0706dc4f48c18)
2008-02-21 11:03:35 -08:00
Karolin Seeger
7428f00d22
Change option name.
...
xattr:tdb -> xattr_tdb:file (according to the other vfs option names)
Karolin
(This used to be commit a2230ccc1700af02f5a5caedd2e66e6f4c14bb5c)
2008-02-21 19:34:48 +01:00
Jeremy Allison
3a376f1cfa
Merge branch 'v3-2-test' of ssh://jra@git.samba.org/data/git/samba into v3-2-test
...
(This used to be commit beb0a76b93f9dd054dbc4192516e7008e59b27d9)
2008-02-21 09:53:00 -08:00
Michael Adam
bf6dbf8e1b
libreplace: fix compile errors in getifaddrs.c
...
Michael
(This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
2008-02-21 18:16:10 +01:00
Michael Adam
357659b1d0
Try and fix getifaddrs check on irix: dont't try to include config.h
...
The missing header file is judged "catastrophic" on irix.
Michael
(This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
2008-02-21 17:56:33 +01:00
Michael Adam
0d7f555335
Move the definition of SMB_LIBRARY to aclocal.m4.
...
Michael
(This used to be commit 4724b13ed8dce4721f95979803ba32f815ceaf1a)
2008-02-21 14:07:45 +01:00
Michael Adam
d29c816b61
configure: Abstract configuration of internal libs into an m4 macro.
...
New subsystem libraries can now be added by specifying SMB_LIBRARY(name).
Michael
(This used to be commit 54d73769c49eb87ecb33e3229a01214972b53858)
2008-02-21 12:59:42 +01:00
Volker Lendecke
21387a4c5e
fix typo
...
(This used to be commit 2d51bf67fc33e1f8f28151277fc254b82a04b664)
2008-02-21 11:40:22 +01:00
Michael Adam
63592eebbb
Remove check for secure mkstemp from configure.in.
...
It has moved to libreplace.
Michael
(This used to be commit b5e894cb3b4d447bd8e8c3f461508c4cf3f630c1)
2008-02-21 10:27:56 +01:00
Michael Adam
48302a28a9
Remove mmap check from configure.in
...
It is available in libreplace.
Michael
(This used to be commit 310c121faf5effeca9ab0df3591c486dd4982749)
2008-02-21 10:27:56 +01:00
Michael Adam
e823c9f237
Fix the build on irix: Prevent empty line in TDB_OBJ
...
This leads to a Makfile syntax error in the prerequisites for
bin/smbd. Wow, irix is really picky!
Michael
(This used to be commit 011f24c6c95c92417d877886ad87d2a2dd82056e)
2008-02-21 10:27:56 +01:00
Jeremy Allison
94ed19c4a8
From: David Disseldorp <ddiss@sgi.com>
...
The vfs_prealloc module makes use of the now redundant fd parameter for
SMB_VFS_FTRUNCATE(), instead get the fd from the files_struct.
Patch for Samba 3.2 Test branch below.
Cheers, David D
(This used to be commit d9b72282c63b57c8e54131306b2a3028a1ea41dc)
2008-02-20 22:10:54 -08:00
Tim Potter
34eef81d2a
Fix double free bugs after calling regfio_close()
...
(This used to be commit 737bb950d50ac6c5d4f99279bf535ae3a9963b2f)
2008-02-20 18:28:41 -08:00
Tim Potter
441de75e58
Fix memory leaks on error path
...
(This used to be commit 47dd0700b4320bf5ac9a80e71ae82d82d4554e6a)
2008-02-20 18:27:40 -08:00
Tim Potter
abf8465659
Fix possible close of invalid fd if call to socket() returns -1.
...
(This used to be commit f7d2f692994918037e603ef95dd097b03d2c5456)
2008-02-20 17:58:50 -08:00
Michael Adam
ec1576e346
Fix build with static libs: place tdb static lib after tdb-util objects.
...
Michael
(This used to be commit 39eef8e86cfab60c1328d2335a737b41d8fd6db0)
2008-02-20 23:44:17 +01:00
Michael Adam
d2e63399d3
configure: add --enable-shared-libs to control overall internal use of shared libs.
...
To disable internal use of shared libraries altogether (as opposed to
disabling use of single shared libs by --with-static-libs=LIBS), use
this new configure parameter --disable-shared-libs.
Michael
(This used to be commit 63bff18f3f6396736910a8e1f5f2abf453c4f89a)
2008-02-20 23:38:27 +01:00
Michael Adam
443f8ed260
configure: Move assemblage of samba version strings to m4 include file.
...
Michael
(This used to be commit 8b220717e8dd62455716d4aaf6728087d04fb71b)
2008-02-20 21:33:24 +01:00
Michael Adam
e0f4573de2
Remove checks for ino_t, loff_t, offset_t, and comparison_fn_t from configure.in.
...
These tests are in libreplace.
Michael
(This used to be commit 2e6b66eda4dc30f03f1309a1dbef3eb87a4f7d1e)
2008-02-20 21:33:24 +01:00
Jelmer Vernooij
9c3f0170b3
Support dlopen(NULL, ...) on HPUX.
...
(cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f)
(This used to be commit 8883ee2418152d58e2ce609e02105e009f8ca4e8)
2008-02-20 21:12:54 +01:00
Michael Adam
4f5a888067
Remove tests for vsnprintf snprintf asprintf vasprintf and va_copy from configure.
...
These are tested in libreplace.
Michael
(This used to be commit 9b9495d3672e3a8e74d153dbef62825e6b5d5170)
2008-02-20 17:26:39 +01:00
Michael Adam
3ac36c3caf
libreplace: change samba_cv_ to libreplace_cv_ in libreplace.m4.
...
Michael
(cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
(This used to be commit 12ec7dfb109bedd7b086702394a7094a4853cf1f)
2008-02-20 14:14:50 +01:00
Michael Adam
9ba696cb68
libreplace: change samba_cv_ to libreplace_cv_ in system/config.m4.
...
Michael
(cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
(This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)
2008-02-20 14:14:41 +01:00
Michael Adam
2356cc6586
libreplace: change samba_cv_ to libreplace_cv_ in getpass.m4.
...
Michael
(cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
(This used to be commit d6719f1c2f349c34d7a14e8e0e264db8dbe48598)
2008-02-20 14:14:31 +01:00