Stefan Metzmacher
828d2ca061
r25232: sync lib/replace with SAMBA_4_0
...
metze
2007-10-10 12:30:52 -05:00
Volker Lendecke
d93b5d50a0
r24354: Remove offsetof macro
...
Samba4 seems not to suffer from it
2007-10-10 12:29:35 -05:00
Jelmer Vernooij
4a5fa715a6
r24341: Make libreplace provide offsetof.
2007-10-10 12:29:31 -05:00
Andrew Tridgell
c676a97114
r23798: updated old Temple Place FSF addresses to new URL
2007-10-10 12:28:26 -05:00
Andrew Tridgell
1b78cace50
r23790: LGPLv3+ conversion for our LGPLv2+ library code
2007-10-10 12:28:25 -05:00
Michael Adam
5f5b931492
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
2007-10-10 12:23:10 -05:00
Stefan Metzmacher
20965d800f
r23309: sync lib/replace with SAMBA_4_0
...
metze
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
5e9b84326b
r23307: move readahead stuff out of libreplace and make it samba3 specific
...
as we can't replace this function in libreplace and we do
the some stuff for other function in the same way.
metze
2007-10-10 12:23:05 -05:00
Michael Adam
18a7e739ea
r23109: Redo the change from r22772 I accidentially undid in r23108.
...
Michael
2007-10-10 12:22:47 -05:00
Michael Adam
5a06726e68
r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
...
Fixing build of ldb for instance on some systems without dlfcn.h.
2007-10-10 12:22:46 -05:00
Derrell Lipman
7d05fa8b32
r22772: - Still working on the fact that readahead() is not declared (on at 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.
2007-10-10 12:21:56 -05:00
Stefan Metzmacher
8a7d2e633b
r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
...
metze
2007-10-10 12:19:24 -05:00
Stefan Metzmacher
5ca1854644
r22274: merge from samba4:
...
- provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro
metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
3f87165771
r22271: merge from samba4:
...
provide __location__ in replace.h
and see how the build-farm likes this simpler version
metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
66b0a6cc51
r22264: merge from samba4:
...
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.
metze
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
42ccfaf5e5
r22252: merge from samba4:
...
add prototype of setenv
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
8f4a39127f
r22227: merge from samba4:
...
move discard_const macros to librelace
metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
057c1c04d0
r22221: merge from samba4:
...
- libreplace unsetenv() and strptime() replacements
metze
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
352ee73030
r20817: sync lib/replace with samba4
...
metze
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
a3a082c42c
r19240: move the NO_CONFIG_H check to libreplace
...
this fixes the quota detection configure and maybe more
configure tests
metze
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
61aa60c60f
r19030: merge missing stuff from samba4:
...
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11
metze
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
8899bc45f9
r18998: - make more usage of PRINTF_ATTRIBUTE()
...
- vsyslog takes a 'const char *format'
metze
2007-10-10 12:14:55 -05:00
Volker Lendecke
00f09d851c
r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
2007-10-10 12:14:54 -05:00
Andrew Tridgell
6d5f507136
r18864: merge lib/replace changes from samba4
2007-10-10 12:01:06 -05:00
Stefan Metzmacher
454d9590de
r18784: hopefully fix the BOOL bug on AIX
...
metze
2007-10-10 12:00:57 -05:00
Stefan Metzmacher
65013a8d9e
r18673: define the macros even if we don't define bool ourself
...
metze
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
6c101d2068
r18672: fix the build on Tru64
...
metze
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
5a589bb16c
r18671: try to fix the build on solaris 10 and maybe some other hosts
...
we need to define 'BOOL_DEFINED' to make sure it didn't get redefined
by <rpcsvc/yp_prot.h>
metze
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
dd76f4f5f3
r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
...
metze
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
596cbe73dd
r18644: bring in libreplace in lib/replace
...
metze
2007-10-10 11:52:03 -05:00