Michael Adam
2c72980a80
r22931: Fix logic in detection of the need to replace dlopen and friends.
...
Originally, dlfcn.o was only added to LIBREPLACEOBJ if dlopen
was found in libdl but header dlfcn.h was not appropriate.
Michael
2007-10-10 12:22:10 -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
cb785d9bed
r22659: merge from SAMBA_4_0:
...
- add AC_GNU_SOURCE macro for systems which don't have it
(sles8)
- fix compiler warning on some systems
metze
2007-10-10 12:19:53 -05:00
James Peach
e718606295
r22394: Remove test directory once we are finished.
2007-10-10 12:19:31 -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
737b445007
r22280: merge from samba4:
...
add a lot more detailed strtoll() and strtoull() tests
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
9865d3165d
r22254: merge from samba4:
...
- make the strtoll tests more verbose
- add initial strtoull tests
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
42ccfaf5e5
r22252: merge from samba4:
...
add prototype of setenv
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
17088fd644
r22247: merge from samba4:
...
only test strtoll once
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
cf7c57eae5
r22244: merge from samba4:
...
remove useless printf's
metze
2007-10-10 12:19:22 -05:00
Stefan Metzmacher
fe4be25c30
r22240: merge from samba4:
...
use strlcpy instead of strcpy to make the IBM checker happy
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
29cbd75f22
r22224: merge from samba4:
...
make comparing of struct tm more verbose and portable
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
7f61b3f009
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
2007-10-10 12:19:17 -05:00
Stefan Metzmacher
874164e365
r21944: move acl header checks to the correct place only
...
jeremy: please merge this to 3.0.25:-)
metze
2007-10-10 12:18:51 -05:00
Stefan Metzmacher
184c461977
r21934: fix the build sorry
...
metze
2007-10-10 12:18:50 -05:00
Stefan Metzmacher
4b67f94c6a
r21931: include acl/libacl.h is present
...
I'm not sure if this should go into 3.0.25... it fixes a compiler warning about
a missing acl_get_perm() prototype
metze
2007-10-10 12:18:49 -05:00
Jelmer Vernooij
78d6c88f10
r21388: Merge support for providing replacement system headers.
2007-10-10 12:18:01 -05:00
Andrew Tridgell
04f6f01dfe
r21176: merged va_end() changes from Samba4
2007-10-10 12:17:45 -05:00
Stefan Metzmacher
024dd7d7c9
r20820: merge from samba4:
...
- include system/aio.h
- use full prototype for main
- use ifdef instead if
metze
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
352ee73030
r20817: sync lib/replace with samba4
...
metze
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
3061c333ec
r20789: merge from samba4:
...
- remove the epoll configure checks from libreplace
metze
2007-10-10 12:17:09 -05:00
Stefan Metzmacher
b303e929d1
r20385: merge from samba4:
...
only try to find dlfcn.h if the dlopen symbol was found,
it hopefully fixes systems where dlfcn.h but no library with dlopen
metze
2007-10-10 12:16:45 -05:00
Herb Lewis
c60687db11
r20261: merge 20260 from samba_3_0_24
...
clean up a bunch of no previous prototype warnings
2007-10-10 12:16:37 -05:00
Herb Lewis
ebe16589cb
r20248: merge 20247 from samba_3_0_24
...
get rid of warning: value computed is not used
2007-10-10 12:16:36 -05:00
Jeremy Allison
8eb53f74e4
r19957: Initial framework to make winbindd robust
...
against tdb corruption. Needs fleshing out
(and I forgot one record type) and needs helpful
suggestion from Volker to validate freelist,
but should give an idea of how this will look.
Jeremy.
2007-10-10 12:16:15 -05:00
Jeremy Allison
02a0ac0bac
r19601: Fix protection from invalid struct tm values.
...
Backport from Samba4.
Jeremy.
2007-10-10 12:15:42 -05:00
James Peach
decdb46a3f
r19385: These replaced symbols should have a rep_ prefix.
2007-10-10 12:15:32 -05:00
Stefan Metzmacher
eb1f0b49cf
r19244: fix the build on systems with broken krb5
...
we need to make sure
HAVE_GSSAPI
HAVE_KRB5_H
HAVE_GSSAPI_H
HAVE_GSSAPI_GSSAPI_GENERIC_H
HAVE_GSSAPI_GSSAPI_H
are not in config.h
this adds 2 new macros to libreplace
AC_REMOVE_DEFINE(), AC_REMOVE_INCLUDE()
metze
2007-10-10 12:15:25 -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
7cbdc06ad9
r19235: merge from samba4:
...
fix configure test for net/if.h on some platforms
AC_LANG_SOURCE() adds the content of confdefs.h in front
of the compiled file
metze
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
9b5c5bc3f3
r19232: merge from samba4:
...
- machine/sys/getppdp.h workaround for HPUX 11.23
- more verbose check for net/if.h
metze
2007-10-10 12:15:23 -05:00
Stefan Metzmacher
21516dc5ac
r19130: fix the logic for the AC_PROG_CC_C99 check
...
metze
2007-10-10 12:15:14 -05:00
Andrew Tridgell
65e1500ae6
r19125: merge from samba4
2007-10-10 12:15:14 -05:00
Stefan Metzmacher
04031a9fca
r19121: try to get rid of the difference between in system/iconv.h
...
between samba 3 and 4.
metze
2007-10-10 12:15:13 -05:00
Stefan Metzmacher
281677084e
r19034: merge from samba4:
...
prepare libreplace testsuite for usage in smbtorture
metze
2007-10-10 12:15:04 -05:00
Stefan Metzmacher
fdad2ce734
r19031: merge from samba4:
...
add test that opendir() on files sets errno = ENOTDIR
metze
2007-10-10 12:15:03 -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
Volker Lendecke
3f59c8ef0c
r19016: As per Samba4 coding standards, turn tabs into spaces
2007-10-10 12:15:02 -05:00
Volker Lendecke
448d7c0c4b
r19011: Attempt to fix the BSD RAW-CHKPATH failures: In Samba3 we rely on opendir
...
returning ENOTDIR when the file opened is not a directory. Can we merge this
back into Samba4?
Volker
2007-10-10 12:14:57 -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
Stefan Metzmacher
c460f28b68
r18961: merge from samba4:
...
fix caching of some configure tests AC_CACHE_CHECK()
*needs* '_cv_' in the shell var to do caching...
metze
2007-10-10 12:14:51 -05:00
Stefan Metzmacher
d827534760
r18958: merge from samba4:
...
we need to include unistd.h in system/network.h because
it contains the ioctl() prototype on some systems
and we need to make sure it gets included before socket_wrapper
defines ioctl swrap_ioctl
metze
2007-10-10 12:14:50 -05:00
Stefan Metzmacher
77b0af43f0
r18953: sync socket_wrapper with samba4
...
metze
2007-10-10 12:14:50 -05:00
Andrew Tridgell
6d5f507136
r18864: merge lib/replace changes from samba4
2007-10-10 12:01:06 -05:00