Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
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)
|
|
(This used to be commit d62f2bcc85c13605c133db250e0a86d2d6ccc481)
|
|
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)
|
|
...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)
|
|
inet_aton() is even needed inside libreplace, in the implementation
of rep_getaddrinfo().
Michael
(This used to be commit bcb2f3a880f8da8f9bedb7a8e61d7d7b533f1919)
|
|
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)
|
|
Jeremy.
(lib/replace part of a1725f4ff7ed375808c78ac661b539557748d0a5 metze)
(This used to be commit db4eabf7cde1008a40a46e5c40a99e9a73cf3ff5)
|
|
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(lib/replace part from e203ba22275320808bc11b17361ad1f2d5b0b897 metze)
(This used to be commit ebc08d23f76ecffc90b1fe84c67fc7e6a4c4a6a3)
|
|
(This used to be commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
|
|
Jeremy.
merge from v3-2-test commit 2a0173743d2cf615d52278f3dd87cc804abe2d16
(This used to be commit cb0eca66dc5121fa73404a7c41aad6086a96e7ec)
|
|
Add in the alarm fix to allow locks to exit on
alarm signal.
Sync up the changes in tools.
Jeremy.
(This used to be commit cb6c663fa8818f49cc36f196bb5f4dea47edd69e)
|
|
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking
metze
(This used to be commit 507d5ca7d994f0771dbb66e61d2d22e391508658)
|
|
(here it's "system/time.h")
metze
(This used to be commit 00467c25930a527eb9831cfd893bd8e217ca4f74)
|
|
getnameinfo
(and friends) from SAMBA_3_2, with some minor tweaks:
- avoid including network headers in replace.h unless absolutely required
- autoconf tests for getaddrinfo() in lib/replace
The heimdal-specific code also no longer looks for these functions anymore.
(This used to be commit b6d3fd84a5d7d814035e60d6fa22f19bed9f77da)
|
|
and move the include location sys/param.h
before we redefine missing macros
metze
(This used to be commit 87559febdf887940ca85571d301269b734906401)
|
|
metze
(This used to be commit 489758afb22368399054d1306711e14cebce94e1)
|
|
sys/param.h.
(This used to be commit 7016d500287ae587d044744f2a318c402148ebea)
|
|
hosts that don't have it.
(This used to be commit b37d86242de1ee82b0cd760d965f8ad37a83cf09)
|
|
(This used to be commit 48d1aa4fcf6a323e3e6a14825f83cd20e3fc3a26)
|
|
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
|
|
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
|
|
This fixes the build on a SuSE 6.1. :-)
I guess this had been merely forgotten.
But beware: The implementations of rep_pread and rep_pwrite are
not thread safe.
Michael
(This used to be commit e4955c729fdf0bd299df4dadc4b33e09fe4d336e)
|
|
for dlopen but no library contains the function...
metze
(This used to be commit 0c7e3ed9625d512522a0cc7278e705fbbfc316f4)
|
|
as a long term solution this was the correct approach,
but it's a bit more complex and we need to provide the
whole socket api and libnsl.so checking in libreplace...
as a short term solution to fix the build on host 'hape'
we'll use the same trick as with inet_aton.c from
heimdal's lib/roken/
metze
(This used to be commit 0e88e2e46199d8ea64dd42c4c8b86d64ce5c2d04)
|
|
(This used to be commit 222acbe33b427a6ccae3b9e27b545f22e4564d5c)
|
|
Michael
(This used to be commit 54193c4638a27983f18478a61beedde889ecc2e2)
|
|
The code for inet_pton.c and inet_ntop.c is taken from
the rsync code.
I will put this into 3_0 and 3_0_26 too, but let's sort
the readahead issue in lib/replace of 3_0 first...
Michael
(This used to be commit 9781b13fd3e0c2a0aa66412c571f562c9f17dcbe)
|
|
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 943acd688d5aa0cd4adc6dc0fd7b92f1f294c219)
|
|
metze
(This used to be commit b69c950858d837d7bd734d418129ade69106a00d)
|
|
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro
metze
(This used to be commit 24324fbcff1a896c55e789063f9916dbd092956d)
|
|
and see how the build-farm likes this simpler version
metze
(This used to be commit 2abc79680f8342c9a7a6c1f3746489dd598b7bf8)
|
|
and #ifndef doesn't work.
metze
(This used to be commit 99125fe76a115b237e18c6a8b73e4adffc5ffb8d)
|
|
metze
(This used to be commit 0a04ed570b125be1716628136f87f0244ad12f72)
|
|
metze
(This used to be commit c2cfee6d25718fac35bd4ed982c7424f1c3ed0b7)
|
|
from jojowil@hvcc.edu to bug 4063
also add a testsuite for strptime()
metze
(This used to be commit aba64521707143e6505b3322c390882a918a148a)
|
|
metze
(This used to be commit 2952c20b779fc6c797e2ab33ba3bda19cbb7a00d)
|
|
metze
(This used to be commit d6de7f2cda70cfd55f0f7fbb9f3b93a5a58c6f51)
|
|
(This used to be commit 20dcd6e2416d656e97b8cc060809673a97d5cde6)
|
|
(This used to be commit 448a3ecc0184bfa063db1eb3ae6dc16b8b792792)
|
|
handle NO_CONFIG_H in libreplace
metze
(This used to be commit 909d736a4bf5a7adfcd64eecf6bb2a92211c6f96)
|
|
- make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'
metze
(This used to be commit cdcd4232d2f383f4d2f9ca1d049b7b3cc7b58359)
|
|
(This used to be commit d8bea42bb78619ae35a9680b24fe9eee5f25997d)
|
|
http://lists.samba.org/archive/samba-technical/2004-August/036915.html
(This used to be commit c178c84f01166609e6bd3393d39fb0034130167b)
|
|
better make it be true :)
(This used to be commit 4bda5ed3f9fda437c3f9b7e8ce83853999601c74)
|
|
(This used to be commit c5e2fcdc10a0869264bb1c6a13ada5f12e1b655f)
|
|
we need to define the macros the indicate we have bool
even if we have not defining bool ourself
metze
(This used to be commit 0c18e5d9383883f696113837a9e2d1bc078f18b1)
|
|
PRINTF_ATTRIBUTE seems to not work with gcc 3.0
metze
(This used to be commit dfb9bfba943bb4954101e7e02fa5a68046817162)
|
|
prototype in that case
(This used to be commit 64b5ff171d04bd93bd41309edfbe532c01a46e4f)
|
|
- AC_HEADERS_STDC is not explicit needed
metze
(This used to be commit 8f20d2cfe564164ea049dbb9f52d885e11098c2a)
|