1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-14 09:49:28 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
db4ab7aae3 libreplace: always provide utime() and utimes()
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 a9604fe4a3)
(This used to be commit 8a241cf150)
2008-05-16 08:51:46 +02:00
e90b4061c1 Janitor for tridge. Keep lib/replace in sync with the gcc4
changes.
Jeremy.
(This used to be commit b496f13322)
2008-04-18 00:30:50 -07:00
bb1b4403b4 libreplace: replace.c does not need system/network.h anymore.
Michael
(cherry picked from commit 2d3c2f34f3)
(This used to be commit 03a980d8f6)
2008-03-19 22:40:45 +01:00
b57d67c406 libreplace: move rep_socketpair() to its own module.
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 94ac8a25be)
(This used to be commit 6c53753246)
2008-03-19 22:40:45 +01:00
5c73dabd49 libreplace: replace inet_ntoa() when it is missing
...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 974c0c45ad)
(This used to be commit edcf2712bc)
2008-03-18 16:44:59 +01:00
d4bfafa29c Fix bug 5055
(This used to be commit 8bcd2df841)
2007-11-26 15:28:13 +01:00
9fa1c63578 r23798: updated old Temple Place FSF addresses to new URL
(This used to be commit c676a97114)
2007-10-10 12:28:26 -05:00
2c09988e46 r23790: LGPLv3+ conversion for our LGPLv2+ library code
(This used to be commit 1b78cace50)
2007-10-10 12:28:25 -05:00
c9e21d8770 r23363: Activate rep_pread and rep_pwrite in lib/replace/replace.h.
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 5f5b931492)
2007-10-10 12:23:10 -05:00
e893d7f021 r23309: sync lib/replace with SAMBA_4_0
metze
(This used to be commit 20965d800f)
2007-10-10 12:23:05 -05:00
2f1aafa2a7 r22221: merge from samba4:
- libreplace unsetenv() and strptime() replacements

metze
(This used to be commit 057c1c04d0)
2007-10-10 12:19:21 -05:00
1ec9de1104 r22151: remove netgr functions from libreplace they're not used
in samba4 currently and samba3 has explicit configure checks for them.

should fix bug #4496

metze
(This used to be commit 7f61b3f009)
2007-10-10 12:19:17 -05:00
2f66beb8ad r20817: sync lib/replace with samba4
metze
(This used to be commit 352ee73030)
2007-10-10 12:17:09 -05:00
ce11194ce0 r18998: - make more usage of PRINTF_ATTRIBUTE()
- vsyslog takes a 'const char *format'

metze
(This used to be commit 8899bc45f9)
2007-10-10 12:14:55 -05:00
8f153c6128 r18644: bring in libreplace in lib/replace
metze
(This used to be commit 596cbe73dd)
2007-10-10 11:52:03 -05:00