Michael Adam
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
Stefan Metzmacher
e893d7f021
r23309: sync lib/replace with SAMBA_4_0
...
metze
(This used to be commit 20965d800f
)
2007-10-10 12:23:05 -05:00
Stefan Metzmacher
b25bebb960
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
(This used to be commit 5e9b84326b
)
2007-10-10 12:23:05 -05:00
Michael Adam
c3c7e1b423
r23109: Redo the change from r22772 I accidentially undid in r23108.
...
Michael
(This used to be commit 18a7e739ea
)
2007-10-10 12:22:47 -05:00
Michael Adam
5aec9e21bd
r23108: Add defines of RTLD_NOW and RTLD_GLOBAL to replace.h.
...
Fixing build of ldb for instance on some systems without dlfcn.h.
(This used to be commit 5a06726e68
)
2007-10-10 12:22:46 -05:00
Derrell Lipman
1b55cf4384
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.
(This used to be commit 7d05fa8b32
)
2007-10-10 12:21:56 -05:00
Stefan Metzmacher
a8c6250274
r22298: move ZERO_*, ARRAY_SIZE and PTR_DIFF macros into libreplace
...
metze
(This used to be commit 8a7d2e633b
)
2007-10-10 12:19:24 -05:00
Stefan Metzmacher
004860e1cc
r22274: merge from samba4:
...
- provide __LINESTR__ macro
- add __STRINGSTRING() macro to really create a string of __LINE__
- fix __location__ macro
metze
(This used to be commit 5ca1854644
)
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
48e29ff642
r22271: merge from samba4:
...
provide __location__ in replace.h
and see how the build-farm likes this simpler version
metze
(This used to be commit 3f87165771
)
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
4341be4593
r22264: merge from samba4:
...
use AC_HAVE_DECL() because AC_CHECK_DECLS() defines to 1 or 0
and #ifndef doesn't work.
metze
(This used to be commit 66b0a6cc51
)
2007-10-10 12:19:23 -05:00
Stefan Metzmacher
cd8f2e5c57
r22252: merge from samba4:
...
add prototype of setenv
metze
(This used to be commit 42ccfaf5e5
)
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
f5b7197625
r22227: merge from samba4:
...
move discard_const macros to librelace
metze
(This used to be commit 8f4a39127f
)
2007-10-10 12:19:21 -05:00
Stefan Metzmacher
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
Stefan Metzmacher
2f66beb8ad
r20817: sync lib/replace with samba4
...
metze
(This used to be commit 352ee73030
)
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
9830fc431b
r19240: move the NO_CONFIG_H check to libreplace
...
this fixes the quota detection configure and maybe more
configure tests
metze
(This used to be commit a3a082c42c
)
2007-10-10 12:15:24 -05:00
Stefan Metzmacher
a831353be4
r19030: merge missing stuff from samba4:
...
- strnlen() and strndup() are broken on AIX
- we need some extra CFLAGS on HPUX 11.11
metze
(This used to be commit 61aa60c60f
)
2007-10-10 12:15:03 -05:00
Stefan Metzmacher
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
Volker Lendecke
f9d077cfb3
r18991: Fix bug 4133 -- Thanks to Olaf Flebbe
...
(This used to be commit 00f09d851c
)
2007-10-10 12:14:54 -05:00
Andrew Tridgell
64d4ff5dcc
r18864: merge lib/replace changes from samba4
...
(This used to be commit 6d5f507136
)
2007-10-10 12:01:06 -05:00
Stefan Metzmacher
beecb90440
r18784: hopefully fix the BOOL bug on AIX
...
metze
(This used to be commit 454d9590de
)
2007-10-10 12:00:57 -05:00
Stefan Metzmacher
bc6295c3ec
r18673: define the macros even if we don't define bool ourself
...
metze
(This used to be commit 65013a8d9e
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
7040796108
r18672: fix the build on Tru64
...
metze
(This used to be commit 6c101d2068
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
8383eb53f4
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
(This used to be commit 5a589bb16c
)
2007-10-10 12:00:46 -05:00
Stefan Metzmacher
19cee7d056
r18649: the PRINTF_ATTRIUTE() macro is provided by libreplace
...
metze
(This used to be commit dd76f4f5f3
)
2007-10-10 11:52:19 -05:00
Stefan Metzmacher
8f153c6128
r18644: bring in libreplace in lib/replace
...
metze
(This used to be commit 596cbe73dd
)
2007-10-10 11:52:03 -05:00