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
(cherry picked from commit a9604fe4a323dccb537cf02ea7594437b4995803)
(This used to be commit 8a241cf150fba787c82cbcb03730083ced442fbb)
|
|
changes.
Jeremy.
(This used to be commit b496f133228b74bf613dab81167a5b9670511c51)
|
|
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)
|
|
...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)
|
|
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)
|
|
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)
|
|
(cherry picked from commit c9e5a3078f7baa83743658d5648f0eefdeb05d2f)
(This used to be commit f2f552106820d1a8f07bccc1a3ad9b45582c8b30)
|
|
Jeremy.
(This used to be commit a1725f4ff7ed375808c78ac661b539557748d0a5)
|
|
a bunch of #defines). Remove pstring from msdfs.c.
Jeremy.
(This used to be commit e203ba22275320808bc11b17361ad1f2d5b0b897)
|
|
Jeremy.
(This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
|
|
an alarm sig would not terminate and could lead
to runaway smbd processes.
Thanks to Dave Daugherty @ Centrify for pointing
this out to us.
Jeremy.
(This used to be commit ef8da1698371c95495add53df81a978df709c88d)
|
|
metze
(This used to be commit 0177158d85797e0d22c81d88175a77d4ad5ed711)
|
|
as this brings in the socket_wrapper.h in unexpected
code and we endup with a missing 'swrap_close' while linking
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25602 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit ec8e3f7f92522c65ec472058321db8a7ac30ec4c)
|
|
(This used to be commit d39ce8e37ed81f4a34a148f975874989d8d187a1)
|
|
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)
|
|
under the 2 clause *BSD license for future use in IPv6 code. Original
code was from PostgreSQL and I've maintained their license even though
I've rewritten large parts of it (I probably should donate this back
to them).
Jeremy.
(This used to be commit 760d993340a966269d71acfb7a6b5e4d3776ac5d)
|
|
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
Jeremy.
(This used to be commit 327875182c9219aeba687e10aaea93546d9a70ea)
|
|
Jeremy.
(This used to be commit 1f719905440d4c87c526c56532f47d894cfec5f0)
|
|
and move the include location sys/param.h
before we redefine missing macros
metze
(This used to be commit 862046028c3c61adf6da2effac91abf3c763635d)
|
|
metze
(This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
|
|
Samba4 seems not to suffer from it
(This used to be commit d93b5d50a00286586c931a5876f5933a520b6ce7)
|
|
(This used to be commit 4a5fa715a6af281282092644817599f79806981d)
|
|
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
|
|
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
|
|
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 5f5b93149216eb57872e4291336685b96948681e)
|
|
metze
(This used to be commit 20965d800fcac0c55853fb12cdd36b5836fc7e56)
|
|
as we can't replace this function in libreplace and we do
the some stuff for other function in the same way.
metze
(This used to be commit 5e9b84326b4c65799e6fa6550de870d9a7ebba85)
|
|
Michael
(This used to be commit 18a7e739ea5d19b2e220641e19662e2c263d281a)
|
|
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 5a06726e6873accd255d584e2c18e62dfcac108d)
|
|
least one
OS) but is available for linking. Instead of running configure tests with
-Werror-implicit-function-declaration in developer mode (which may lead to
different library functions being used in developer mode than when not in
developer mode), add tests for whether readahead is declared. If not,
provide a replacement declaration in lib/replace.
(This used to be commit 7d05fa8b32b5b33e95fd9d552d2a45013b4803ec)
|
|
metze
(This used to be commit 8a7d2e633b98aa9c73cf1f7d1369015b294cf2e1)
|
|
- provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro
metze
(This used to be commit 5ca18546444e3e65491c2104cf8eeb1022bb5591)
|
|
provide __location__ in replace.h
and see how the build-farm likes this simpler version
metze
(This used to be commit 3f87165771ecbbcd70e870235e324d25b21a04d4)
|
|
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.
metze
(This used to be commit 66b0a6cc51a3987c489cc71a17c0da632bf6a6bc)
|
|
add prototype of setenv
metze
(This used to be commit 42ccfaf5e58d92e04ba490f726e5d6972039bdc4)
|
|
move discard_const macros to librelace
metze
(This used to be commit 8f4a39127f7b560a7a609e74423ccb88f53e545e)
|
|
- libreplace unsetenv() and strptime() replacements
metze
(This used to be commit 057c1c04d09b48c713ebc0b334cabcefc02561e9)
|
|
metze
(This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
|
|
this fixes the quota detection configure and maybe more
configure tests
metze
(This used to be commit a3a082c42ccb21cb16d2e53991808ef3224efc6c)
|
|
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11
metze
(This used to be commit 61aa60c60ffddcbad433b26d7f3a836e4fcd8732)
|
|
- vsyslog takes a 'const char *format'
metze
(This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
|
|
(This used to be commit 00f09d851c734cb6450feac2d6efc71a540be11f)
|
|
(This used to be commit 6d5f507136be327558e98214b64eca225ca23d66)
|
|
metze
(This used to be commit 454d9590de6ff94a1edd7321e26af0f0978a356a)
|
|
metze
(This used to be commit 65013a8d9e678c44cecae07967b7a001b796faf1)
|
|
metze
(This used to be commit 6c101d206812fe24233409e0757cad52638e685a)
|
|
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined
by <rpcsvc/yp_prot.h>
metze
(This used to be commit 5a589bb16c2bb3da75874bd190384eabd39eb972)
|
|
metze
(This used to be commit dd76f4f5f374ec4822abbf1a09d26287926b92ce)
|
|
metze
(This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)
|