Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit bd089818a3182698dfe85039c1b2e22d8c2835bb)
|
|
(This used to be commit dabdf24e86f038e3afc67532fa5bf60a37992161)
|
|
metze
(This used to be commit 04f4523ed032946b8f0e74ac6f7458010159e3bb)
|
|
metze
(This used to be commit 3451b54bf7f5e37a589ec261d28c2a8b6f9788ed)
|
|
Note: moving it out of AC_LIBREPLACE_BROKEN_CHECKS will be the next step
metze
(This used to be commit 55a904b1d7aeca849d450e371b18afca5b0c6218)
|
|
I'd like to also provide futimes(), but it seems
that some systems doesn't support a it at kernel level.
If someone knows how to write a portable replacement
for futimes() please tell me...
metze
(This used to be commit a9604fe4a323dccb537cf02ea7594437b4995803)
|
|
metze
(This used to be commit 8798ce3c744025b94973784dcb44d099427ef190)
|
|
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
|
|
This should fix the build on solaris.
Later this needs better fixing...
metze
(This used to be commit 89b7955733c34e9699a3b43ee54de92cb9469b90)
|
|
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 4ae4692bc6c6da15483a6f4a3363cdc23121efc7)
|
|
Michael
(This used to be commit 2d3c2f34f33338ff422047dae9cc262522689328)
|
|
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
(This used to be commit 94ac8a25be15b55f66eff96fdddc2fdc71a43b1e)
|
|
Interface detection on Solaris still failing due to items pointed out here:
http://lists.samba.org/archive/samba-technical/2007-November/056701.html
(cherry picked from commit 37c87acc9d48c1fb5d4806374ca8e992300db1ff)
(This used to be commit 5757d8dfe9e6cf7b662acdf5c3d825f0021822c0)
|
|
(cherry picked from commit 471b1b0c58bc2def5d2fe9d98401def34724d447)
(This used to be commit effda48a2670325fed56e158539417c6f95381b8)
|
|
(cherry picked from commit b8aaa9a69fd6217ce0387ef8e84f316706186d70)
(This used to be commit 8f58d39c0c621e9da85308d721a146352cc4939e)
|
|
Michael
(This used to be commit 98ee8c84300757d778733a458c6ca3e6022b40ea)
|
|
Michael
(This used to be commit 1f9ca7eed965904f67cf78fbac007432b8a057fd)
|
|
...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
(This used to be commit 974c0c45ad42644348e0b55454715b12158f1028)
|
|
Michael
(This used to be commit cca5d6626fe395f08fd4c8b2344e4e43646cb987)
|
|
metze
(This used to be commit 62bb177a6e4a3e1f949b78c7cd7583f2e1271739)
|
|
metze
(This used to be commit 79037c31334e271a718fcac234148038814b591e)
|
|
...instead of using SOCKET_LIBS and NSL_LIBS.
metze
(This used to be commit cef2e8d748756f61c248ad6660e85dd1ac36308a)
|
|
But keep the old ones untill the callers are fixed.
metze
(This used to be commit e7115dcc8a0a4f420de7a901e3a21d4f35a6fcf9)
|
|
Some S3 code depends on this.
(cherry picked from commit dc3d5e16452bf30055638ba3cfe99097fb557156)
(This used to be commit 842d144b4fb0981250157f72956e732709663107)
|
|
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
(This used to be commit ff3af1703ddc9e5383f32156bc5be8351f795e76)
|
|
This is needed, otherwise $libreplacedir/system/network.h does not
find $libreplacedir/getaddrinfo.h on some systems (solaris, e.g.).
Michael
(This used to be commit 297c3bece094ddb5f268b02e61e33f512ccfe6f5)
|
|
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().
Michael
(This used to be commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
|
|
Michael
(This used to be commit 0aff54a12e20d5e91fcdec7aaec103fb9a371a23)
|
|
Michael
(This used to be commit 54cc0df4dbf6d63a9b94e1ac6af4ec7f7803bc30)
|
|
Michael
(This used to be commit 0cbb87453beb52c6b0bc3a48791f49678f4030c5)
|
|
Michael
(This used to be commit 523626908d25f974fd1ae6d7306b1d4bc8414162)
|
|
Michael
(This used to be commit f8243cfc47c7414bab7f249d0e5d1c85e8ca7d64)
|
|
Michael
(This used to be commit 29818a07de826fd687003ff25865d77939ecaa9a)
|
|
Don't fail when there is no address assigned to the interface.
Put NULL into the ifaddrs structure instead.
Michael
(This used to be commit ee170c85e0e76411bd752de5fe51db6940dab929)
|
|
Michael
(This used to be commit a2a506ff0eae2a64ebe2ddbb81a6c2a5fa7fe3da)
|
|
Michael
(This used to be commit 9d2bab09aac22c00fe23f1e1265a2dbd0901e9ce)
|
|
Michael
(This used to be commit ff311e613226e660998824b887cb9595ffbe0275)
|
|
The libs needed for getifaddrs replacements have to be added
to LIBS and used for the testsuite target.
Michael
(This used to be commit e7c1d6513b945b205abe84b18a251d06e737e659)
|
|
getifaddr tests include system/network.h, which does not
find getaddrinfo.h without "-I.".
Michael
(This used to be commit cd95c702ed90128f659e27709c61d4c6abc969ef)
|
|
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 900d17acb95f1becfc46656a12c107336c027ef7)
|
|
Michael
(This used to be commit 8a26a6e8f11aca5119b15e304213548ad608dc5b)
|
|
Michael
(cherry picked from commit 85eec1d1d6b674294c50eb912fbe7d5a1dd42909)
(This used to be commit a83db886e50b6ceeb71d93bf86fb5e0964b8d45f)
|
|
Michael
(This used to be commit 0440bcfe6359ca4842f473b1ca799cad9f1c6c96)
|
|
Add missing includes of replace.c and defines of SOCKET_WRAPPER_NOT_REPLACE.
Michael
(cherry picked from commit 26e6ebc7090b5742deb67805d85d809cafb4543d)
(This used to be commit e00c6513e05afe91d4c419287283b34e931a161c)
|
|
Produce proper list instead of one-node-loop.
Michael
(cherry picked from commit ec9f4f5066ba7a8bf3af931fd4969590140c0b2b)
(This used to be commit 744d5ba7adab65a9774a18eb42b7090f49e423f2)
|
|
Michael
(cherry picked from commit 65710e752f72070cb911867ff9f31f91904ca5c0)
(This used to be commit 5bd613a2cda5d287706f2ce72f4ee08a7fa45b72)
|
|
Michael
(cherry picked from commit 22cdd4cb507022d9c670b7d5cbc8d357b0b91637)
(This used to be commit 4da2d999a28c8fd3e93480194a153cf6a10de986)
|
|
The missing header file is judged "catastrophic" on irix.
Michael
(cherry picked from commit 5778c90819a5a5cee38be690f442c571f3a6a051)
(This used to be commit 0d4522a06d4465f6eadbdf14381c9e08cf7e1dc9)
|
|
(This used to be commit 53c70b5f77a3b9abaab783590e66278129173d5f)
|
|
Michael
(This used to be commit 83387ecccfe95b80525bf53c5fc9e945ffee10ec)
|