Jeremy Allison
d980ee5040
r25495: Fixup definitions for missing sockaddr_storage.
...
Jeremy.
2007-10-10 12:31:10 -05:00
Jeremy Allison
2cab825634
r25487: Try fix the build - fix socklen_t and sa_family_t.
...
Jeremy.
2007-10-10 12:31:08 -05:00
Jeremy Allison
f1b8c5de0a
r25474: Try and fix the build on Mac OS X 10.4.9.
...
Shuffle sa_family_t around.
Jeremy.
2007-10-10 12:31:06 -05:00
Jeremy Allison
327875182c
r25472: Fix the interfaces code to detect IPv6 interfaces, using the
...
new standard getifaddrs() and freeifaddrs() interfaces. Currently
we only return IPv4 af_families. Needs fixing for binds to IPv6
but this has to be careful work.
Jeremy.
2007-10-10 12:31:06 -05:00
Jeremy Allison
1f71990544
r25455: Ensure we have inet_ntop and inet_pton available in lib/replace.
...
Jeremy.
2007-10-10 12:31:06 -05:00
Stefan Metzmacher
862046028c
r25252: move macro defines to the end of replace.h
...
and move the include location sys/param.h
before we redefine missing macros
metze
2007-10-10 12:30:55 -05:00
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
Volker Lendecke
ed84540bb2
r24054: Fix some warnings
2007-10-10 12:29:00 -05:00
Andrew Tridgell
87c91e4362
r23801: The FSF has moved around a lot. This fixes their Mass Ave address.
2007-10-10 12:28:27 -05:00
Andrew Tridgell
727a6cf2cb
r23800: LGPL is now called GNU Lesser General Public License
...
not GNU Library General Public License
2007-10-10 12:28:26 -05:00
Andrew Tridgell
43cd589773
r23799: updated old Franklin Street FSF addresses to new URL
2007-10-10 12:28:26 -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
e87bb12093
r23797: started fixing old FSF addresses. Fixed pcap2nbench COPYING file
2007-10-10 12:28:26 -05:00
Andrew Tridgell
b6cbac3db3
r23791: found some more v2->v3 conversions
2007-10-10 12:28:25 -05:00
Andrew Tridgell
1b78cace50
r23790: LGPLv3+ conversion for our LGPLv2+ library code
2007-10-10 12:28:25 -05:00
Jeremy Allison
c2f7ab1c17
r23780: Find and fix more GPL2 -> GPL3.
...
Jeremy.
2007-10-10 12:28:21 -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
1716613cc7
r23335: as not all source files include replace.h/config.h
...
before unistd.h we need to pass -D_FILE_OFFSET_BITS=64
together with -Dpread=pread64 -Dpwrite=pwrite64
metze
2007-10-10 12:23:07 -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
Stefan Metzmacher
85a07e24f0
r23305: merge from samba4:
...
fix large file support on HP-UX 11.00 and 11.11
metze
2007-10-10 12:23:04 -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
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