Age | Commit message (Collapse) | Author | Files | Lines |
|
Jeremy.
(This used to be commit e54c71954ae484fe4a4e195db33440490e78e256)
|
|
metze
(cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190)
(This used to be commit fa443081eaff77623653ed0390c4f9dabc4487b5)
|
|
changes.
Jeremy.
(This used to be commit b496f133228b74bf613dab81167a5b9670511c51)
|
|
This should fix the build on solaris.
Later this needs better fixing...
metze
(cherry picked from commit 89b7955733c34e9699a3b43ee54de92cb9469b90)
(This used to be commit fcb497951a86551ce9c4be7b352335dad3be127a)
|
|
This is not a proper bug but the code is clearer now
and we are tracking failure of open separate from that of close.
Michael
(This used to be commit 451fc9ae05f841883081a334e179cf31625a772c)
|
|
Michael
(cherry picked from commit 2d3c2f34f33338ff422047dae9cc262522689328)
(This used to be commit 03a980d8f67ee1516c357807c23a405f07a006b3)
|
|
Prototype is now in system/network.h,
implementation in socketpair.c, and
check in socketpair.m4.
Now the last networking function has vanished from replace.c.
Michael
(cherry picked from commit 94ac8a25be15b55f66eff96fdddc2fdc71a43b1e)
(This used to be commit 6c53753246b8108fe1277b34958e122bd800c4e7)
|
|
Michael
(cherry picked from commit 98ee8c84300757d778733a458c6ca3e6022b40ea)
(This used to be commit a4f22d6e2b3fc198327deabf4a724cd476e4144c)
|
|
Michael
(cherry picked from commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)
(This used to be commit a1d24f110b3edff636174e017eb56ba5b10df590)
|
|
...not only replace it when it is broken.
This moves the defintion of rep_inet_ntoa from replace.c
to inet_ntoa.c and adds configure checks for existence
of inet_ntoa(). Checks are moved to an include file of its own.
NOTE: The original rep_inet_ntoa in replace.c was wrapped
into a "#ifndef WITH_PTHREADS" but the prototype in replace.h
and the define in system/network.h were not. I removed that
ifndef since the inet_ntoa() function is usually not thread safe
anyways, since it returns a pointer to a static buffer.
So whoever calls inet_ntoa() should be aware that it is not
thread safe anyways.
Michael
(cherry picked from commit 974c0c45ad42644348e0b55454715b12158f1028)
(This used to be commit edcf2712bcdedabbfdd9ee8b9a18f46126930636)
|
|
Michael
(cherry picked from commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)
(This used to be commit f69e51f56f111d9bd5db69e191f45567aacf8c3d)
|
|
metze
(cherry picked from commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
(This used to be commit f27d5e0cf80c49d81091a385cbfd0801b5483825)
|
|
metze
(cherry picked from commit 79037c31334e271a718fcac234148038814b591e)
(This used to be commit b141fce01dd40b25cce52852cd93f0f907c3b008)
|
|
...instead of using SOCKET_LIBS and NSL_LIBS.
metze
(cherry picked from commit cef2e8d748756f61c248ad6660e85dd1ac36308a)
(This used to be commit 7854ed24a57162fa7569d8f36633f3c156067b0b)
|
|
But keep the old ones untill the callers are fixed.
metze
(cherry picked from commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)
(This used to be commit 2dee62ed12910a4d22381677bcf884dca0d999ea)
|
|
(This used to be commit 471b1b0c58bc2def5d2fe9d98401def34724d447)
|
|
Some S3 code depends on this.
(This used to be commit dc3d5e16452bf30055638ba3cfe99097fb557156)
|
|
This corrects the earlier fix of the standalone build, by setting
LIBS to the desired value only in configure.ac but not in getifaddrs.m4.
Not that this changes the standalone build in that it adds these libs
undconditionally and not only if they are needed by the getifaddrs
replacement functions.
Michael
(cherry picked from commit ff3af1703ddc9e5383f32156bc5be8351f795e76)
(This used to be commit 2546da817f666914c1c220ec1fedc19aa41b25ad)
|
|
This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).
Michael
(cherry picked from commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)
(This used to be commit ddd564e8bf2b115aa5dbcbebd4be30b749ad8752)
|
|
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().
Michael
(cherry picked from commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
(This used to be commit 83baff78ce752a9129554a456cc24d043d419cd1)
|
|
Michael
(cherry picked from commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
(This used to be commit 77b7d7c0417e498340d1c9364fbbb8671c175477)
|
|
Michael
(cherry picked from commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
(This used to be commit 1ff0b616a9cb029040031f797b52112d4973e1eb)
|
|
Michael
(cherry picked from commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
(This used to be commit 34d906ef44d1a5c3452097a9cac438d721fe35c1)
|
|
Michael
(cherry picked from commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
(This used to be commit 0906120a6e4fe0eb66f3c3fd99c625b30672cb2b)
|
|
Michael
(cherry picked from commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
(This used to be commit 3c1843f931b896dd3bb142346ecb44c0fb9202d6)
|
|
Michael
(cherry picked from commit 29818a07de826fd687003ff25865d77939ecaa9a)
(This used to be commit 1d906d346ed90b87895772a64c7613324ef8b682)
|
|
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.
Michael
(cherry picked from commit ee170c85e0e76411bd752de5fe51db6940dab929)
(This used to be commit 650cc1da4b4404880389c583dbb07ce86df48576)
|
|
Michael
(cherry picked from commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
(This used to be commit c5932414fdf0b568cbfe6cdefaec41c8afc8ca6b)
|
|
Michael
cherry-picked from libreplace-part of 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce
and adapted replacetort creation
(This used to be commit 52d79ad4872a20cf55f31aba97629c2561bfc16c)
|
|
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(This used to be commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff)
|
|
Michael
(This used to be commit 5c08730f1938b8c56b70554378051d88d174c061)
|
|
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.
Michael
(This used to be commit f162de7b8012d29408060610a969ca76c61a4c80)
|
|
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".
Michael
(This used to be commit 66d4c38967e0d420929d4e1fdab0590161d526bc)
|
|
Provide dummy replacements when a function isnt found.
The functions are also searched for in certain libraries,
and variables SOCKET_LIBS and NSL_LIBS are set accordingly.
One purpose of this is to fix the getifaddrs tests on
systems where e.g. the socket calls require special libs
for linking.
Michael
(This used to be commit c19f7a0e1004213f95e0bf8db5cd1f6697c7a47b)
|
|
Michael
(This used to be commit 7b98620ef16c6969fd21dd9c157aedd4adb117a3)
|
|
(This used to be commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
|
|
Michael
(This used to be commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
|
|
Michael
(cherry picked from commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
(This used to be commit ddf7ac4f266e59871191c6e0a14e99b01a1dc8b1)
|
|
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.
Michael
(This used to be commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
|
|
Produce proper list instead of one-node-loop.
Michael
(This used to be commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
|
|
Michael
(This used to be commit 65710e752f72070cb911867ff9f31f91904ca5c0)
|
|
Michael
(This used to be commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
|
|
The missing header file is judged "catastrophic" on irix.
Michael
(This used to be commit 5778c90819a5a5cee38be690f442c571f3a6a051)
|
|
(cherry picked from commit 53c70b5f77a3b9abaab783590e66278129173d5f)
(This used to be commit 8883ee2418152d58e2ce609e02105e009f8ca4e8)
|
|
Michael
(cherry picked from commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
(This used to be commit 12ec7dfb109bedd7b086702394a7094a4853cf1f)
|
|
Michael
(cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
(This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)
|
|
Michael
(cherry picked from commit d3b3d3ec9ff64108b4cd5b7c912ab4ea207256cb)
(This used to be commit d6719f1c2f349c34d7a14e8e0e264db8dbe48598)
|
|
Michael
(cherry picked from commit acab9def2a1e3460bef8baae6efc66d9dfad6eac)
(This used to be commit f790cb4aedee58abe6324c47912b58a808bfca51)
|
|
This was by accident introduced in cherry-pick commit
7a7dcd9b1265b8f031c9a5e9c4cfa89216827a28: This tiny portion
had already been ported in 64ff1dad8664f14030c7d78c252d946216798a88.
MIchael
(This used to be commit 69b2ebc797fa986bf395f4d045ea663240e9ec2c)
|
|
Michael
(cherry picked from commit d10cbb533c18a6d74160477d34a81bbd4cd6c7c8)
(This used to be commit 12e5b9b406d111834c013cbbfe63b759a969ec8e)
|