summaryrefslogtreecommitdiff
path: root/source3/lib/replace/replace.c
AgeCommit message (Collapse)AuthorFilesLines
2008-05-16libreplace: always provide utime() and utimes()Stefan Metzmacher1-0/+27
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)
2008-04-18Janitor for tridge. Keep lib/replace in sync with the gcc4Jeremy Allison1-1/+1
changes. Jeremy. (This used to be commit b496f133228b74bf613dab81167a5b9670511c51)
2008-03-19libreplace: replace.c does not need system/network.h anymore.Michael Adam1-1/+0
Michael (cherry picked from commit 2d3c2f34f33338ff422047dae9cc262522689328) (This used to be commit 03a980d8f67ee1516c357807c23a405f07a006b3)
2008-03-19libreplace: move rep_socketpair() to its own module.Michael Adam1-22/+0
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)
2008-03-18libreplace: replace inet_ntoa() when it is missingMichael Adam1-14/+0
...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)
2007-11-26Fix bug 5055Volker Lendecke1-1/+1
(This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
2007-10-10r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell1-2/+1
(This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
2007-10-10r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell1-1/+1
(This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
2007-10-10r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.Michael Adam1-0/+8
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)
2007-10-10r23309: sync lib/replace with SAMBA_4_0Stefan Metzmacher1-11/+15
metze (This used to be commit 20965d800fcac0c55853fb12cdd36b5836fc7e56)
2007-10-10r22221: merge from samba4:Stefan Metzmacher1-0/+26
- libreplace unsetenv() and strptime() replacements metze (This used to be commit 057c1c04d09b48c713ebc0b334cabcefc02561e9)
2007-10-10r22151: remove netgr functions from libreplace they're not usedStefan Metzmacher1-27/+0
in samba4 currently and samba3 has explicit configure checks for them. should fix bug #4496 metze (This used to be commit 7f61b3f0095efed81adc9022ba44e5c7df84d2f2)
2007-10-10r20817: sync lib/replace with samba4Stefan Metzmacher1-0/+21
metze (This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
2007-10-10r18998: - make more usage of PRINTF_ATTRIBUTE()Stefan Metzmacher1-1/+1
- vsyslog takes a 'const char *format' metze (This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
2007-10-10r18644: bring in libreplace in lib/replaceStefan Metzmacher1-0/+592
metze (This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)