summaryrefslogtreecommitdiffstats
path: root/source3/lib/replace/replace.c
Commit message (Collapse)AuthorAgeFilesLines
* using NGROUPS_MAX instead of 32 for the max group value in rep_initgroups() ↵Yannick Bergeron2008-08-081-1/+1
| | | | | | subroutine in lib/replace/replace.c (This used to be commit 13b1a232d2fe05ae3e924ea2503d05ff5084146e)
* Fix bug #5578, reported by sendel2000@hotbox.ru. Bad (non-Samba) use of ↵Jeremy Allison2008-07-021-0/+3
| | | | | | | strlcat gives error. Jeremy. (This used to be commit d7c82997bdcf1acd7ac104efa0ad05e0b94935ea)
* libreplace: always provide utime() and utimes()Stefan Metzmacher2008-05-161-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)
* Janitor for tridge. Keep lib/replace in sync with the gcc4Jeremy Allison2008-04-181-1/+1
| | | | | | changes. Jeremy. (This used to be commit b496f133228b74bf613dab81167a5b9670511c51)
* libreplace: replace.c does not need system/network.h anymore.Michael Adam2008-03-191-1/+0
| | | | | | Michael (cherry picked from commit 2d3c2f34f33338ff422047dae9cc262522689328) (This used to be commit 03a980d8f67ee1516c357807c23a405f07a006b3)
* libreplace: move rep_socketpair() to its own module.Michael Adam2008-03-191-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)
* libreplace: replace inet_ntoa() when it is missingMichael Adam2008-03-181-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)
* Fix bug 5055Volker Lendecke2007-11-261-1/+1
| | | | (This used to be commit 8bcd2df841bae63e7d58c35d4728b7d853471697)
* r23798: updated old Temple Place FSF addresses to new URLAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit c676a971142d7176fd5dbf21405fca14515a0a76)
* r23790: LGPLv3+ conversion for our LGPLv2+ library codeAndrew Tridgell2007-10-101-1/+1
| | | | (This used to be commit 1b78cace504f60c0f525765fbf59d9cc6506cd4d)
* r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.Michael Adam2007-10-101-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)
* r23309: sync lib/replace with SAMBA_4_0Stefan Metzmacher2007-10-101-11/+15
| | | | | metze (This used to be commit 20965d800fcac0c55853fb12cdd36b5836fc7e56)
* r22221: merge from samba4:Stefan Metzmacher2007-10-101-0/+26
| | | | | | | - libreplace unsetenv() and strptime() replacements metze (This used to be commit 057c1c04d09b48c713ebc0b334cabcefc02561e9)
* r22151: remove netgr functions from libreplace they're not usedStefan Metzmacher2007-10-101-27/+0
| | | | | | | | | in samba4 currently and samba3 has explicit configure checks for them. should fix bug #4496 metze (This used to be commit 7f61b3f0095efed81adc9022ba44e5c7df84d2f2)
* r20817: sync lib/replace with samba4Stefan Metzmacher2007-10-101-0/+21
| | | | | metze (This used to be commit 352ee730308bbc151a742938818c9b8b3a6e8014)
* r18998: - make more usage of PRINTF_ATTRIBUTE()Stefan Metzmacher2007-10-101-1/+1
| | | | | | | - vsyslog takes a 'const char *format' metze (This used to be commit 8899bc45f908a15fb496f5c0a29692e7494a56cc)
* r18644: bring in libreplace in lib/replaceStefan Metzmacher2007-10-101-0/+592
metze (This used to be commit 596cbe73dd268742acf456fccd8a234376fb0c97)