Age | Commit message (Collapse) | Author | Files | Lines |
|
AC_LIBREPLACE_NETWORK_CHECKS was used
metze
(cherry picked from commit 3fddd36e119f73a5021370450f9687ef9d252bab)
(This used to be commit cd37fdb2401bfd6c23160e34f03238faa1f5cbd3)
|
|
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)
|
|
metze
(cherry picked from commit 8798ce3c744025b94973784dcb44d099427ef190)
(This used to be commit fa443081eaff77623653ed0390c4f9dabc4487b5)
|
|
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)
|
|
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)
|
|
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)
|
|
Michael
(cherry picked from commit 00c173bfba9c659750bf231fbd9278dd38aa8bfc)
(This used to be commit 450034582ba78b296e9cacc9ea06b632196b8644)
|
|
(cherry picked from commit cc873bdd2e86e5b380c3056810ccc5ad98372f7c)
(This used to be commit ccfb04d18516e0aca88ea0a96afe119175bddba7)
|
|
(cherry picked from commit 8c65053f51330bb55a81572264eefbcc56029dc1)
(This used to be commit 57587e49f5942b81508b40e3c9a67e7536f2271d)
|
|
(cherry picked from commit c4cd935ee783b2f4939e2c481bbdb1bbdb9190cd)
(This used to be commit 839d128a42aa624e3cd978700059f947022ee733)
|
|
(cherry picked from commit fa9e3b6fa871b7541878f836ea54e882e614a3cf)
(This used to be commit a2d6f6b4ae7fb6711d4228b9e255eebb6bf344bd)
|
|
for platforms that don't have it in lib/replace.
(lib/replace part of 9b4924fbd8619033c55b4c6e2589da247332e7db - Michael)
(This used to be commit 789bf2d36bd728cc68b58cfb1e9570b90ca09af7)
|
|
(This used to be commit fb3f7f4046fa195baf5116598772d9016238637f)
|
|
metze
(This used to be commit 2f460915111066d79f5dc9b4ae4d003918d06852)
|
|
sockaddr_storage"
This reverts commit e33286f4a68352e55df081d06307f64f190773b3.
393bab185e0e9f02aac5740becc2aba2762133c8 is the v4-0-test fix
for the same problem.
metze
(This used to be commit b8a57a24c390355c4950ca499c1d96aff80abad7)
|
|
metze
(cherry picked from commit 11bdc9bed80b9842ac1ab8f22509a5d191cddc91)
(This used to be commit c11122afda52ce787dd1d3357bd85b6ce36b8ca4)
|
|
metze
(cherry picked from commit 1ecb4ec01b0506c95a5f90a62040329e7a39ee93)
(This used to be commit ff8a001f0d3f2655efafed41f2f0b14552a5c7e7)
|
|
(This used to be commit e33286f4a68352e55df081d06307f64f190773b3)
|
|
system).
Jeremy.
(This used to be commit 545cd2139cfc9484b733693814d4724d37125942)
|
|
Republic <Jiri.Sasek@Sun.COM>
- slightly modified - Jiri please check ! to allow Solaris to get passwords > 8 chars.
Jeremy.
(This used to be commit 657bf8c3479d6192f269e3daef1517e77a9fa9cb)
|
|
Michael
(This used to be commit 834a16225a8fb905a8f870a17ba67670e622eccc)
|
|
Michael
(This used to be commit 8ec10c4ab1aa890c9f03d34bd872c93ae5c4d84c)
|
|
Taken from s3:lib/system.c
Michael
(This used to be commit 07e6cfdc626c2778292e5b0b338a35046c482cf9)
|
|
The /usr/include/sys/capability.h defines _LINUX_TYPES_H
which prevents /usr/include/linux/types.h from being parsed
(when included afterwards). Thus certain types are undefined
that are for instance needed in /usr/include/linux/dqblk_xfs.h.
This breaks the build of lib/sysquotas_xfs.c.
This commit adds a configure check and a workaround for this.
Michael
(This used to be commit 11bcdf780e164659b89a66e24edc27e89da7619a)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25867 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 77900d2ba03455412ad645e757ba468ca90453fb)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25865 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 8e81dd7356eb8422284a93bfc9b55ed1523c8208)
|
|
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
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25863 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 20ec1f472566bbc570fa138cce5dbd0407aef530)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25838 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 809fee4bef66eb8b8687f88257c0d6f77d3b4063)
|
|
(from Jerry).
Jeremy
(This used to be commit a68bbea0d42cc64b9fa731ab2a1da82ef30937c6)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25728 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 11a977aa0757801fb0fa805b123e7bc75c8be447)
|
|
- use rep_ instead of pg_ as prefix in getaddrinfo.[ch]
- define HAVE_<name> macros when we replace functions
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25724 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit e56977ea459b3615d33237d19ed8e7ad8b509853)
|
|
this is needed as heimdal's roken.h also tries to replace the types
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25718 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit b81d8bc43cd7167a5cd4b18c26ba3eecf75043eb)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25715 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit 45150075677451b48ce56ebdce96aca1ed13fa80)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25714 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit fa120f7c50d0084e7d887811e5fa59ae3bcfe53e)
|
|
metze
git-svn-id: svn+ssh://svn.samba.org/data/svn/samba/branches/SAMBA_4_0@25713 0c0555d6-39d7-0310-84fc-f1cc0bd64818
(This used to be commit f1d434a132e424f2fdce59d51a7c398988c1474d)
|
|
metze
(This used to be commit 354bdd38e8714b789daffc897cd843a8d401be45)
|
|
defines). Allows RHEL4 compile to work.
Jeremy.
(This used to be commit 0ffdf4fdeea88c21880c8bf69d8db56fb49effa7)
|
|
metze
(This used to be commit 96820f8d8f6522fc264efda0f069e2f6a420ac2e)
|
|
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 5c6c8e1fe93f340005110a7833946191659d88ab)
|
|
(This used to be commit 8c1669997c53f0f7bfb9a794083afd01b131f676)
|
|
struct sockaddr_in6 is defined.
Jeremy.
(This used to be commit 4cf17df5caeb2b0220f6a7dd82d5fed5aca56850)
|
|
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)
|
|
Jeremy.
(This used to be commit d980ee5040f2ab9e7408218d13962dd64e2b33b1)
|