summaryrefslogtreecommitdiff
path: root/lib/strndup.c
AgeCommit message (Collapse)Author
2007-11-14Replace xine_private_strndup() implementation with NetBSD version.Diego 'Flameeyes' Pettenò
As the source file for xine_private_strndup() does not provide a licence header, replace it with a safe copy (licence wise) taken from NetBSD CVS. The implementation is licensed under 3-clause BSD licence, that is compatible with GPL-2 or later.
2006-09-19Finish the latest change - fix broken build for some platforms (BSD, Win, ↵František Dvořák
Solaris). CVS patchset: 8271 CVS date: 2006/09/19 13:31:19
2005-08-25*BUGFIX*František Dvořák
Windows ports fixes and improvements due to my current work on toxine: - first experiments with external win32 pthreads, more portable code (pthread_t may be a struct) - headers refactored - moved dirent win32 replacement to lib/, hide it for frontends, used system version, if found, not used non-POSIX dirent->d_reclen (this item doesn't work in MinGW), fix memleak in dvb - separated settings for postproc and avcodec when using external ffmpeg - check for malloc.h in public xine.m4, used it conditionally in xine headers - replaced random() by POSIX more common rand() - prevent one segfault in directx vo plugin, if fails - M$VC port update CVS patchset: 7709 CVS date: 2005/08/25 15:36:29
2004-09-23make use of HAVE_MALLOC_H and HAVE_STDLIB_H from config.hDaniel Mack
CVS patchset: 6996 CVS date: 2004/09/23 16:11:47
2004-09-23fixed compilation on MacOSXDaniel Mack
CVS patchset: 6995 CVS date: 2004/09/23 16:09:03
2004-09-20Build system improvements:František Dvořák
- use replacement functions (macro AC_REPLACE_FUNCS and variable LTLIBOBJS), each function is in a file placed into lib/ directory, it was not necessary, but it looks nice, IMHO - headers cleanups (this was needed): - prototypes of replacement funtions and macros are placed into separate os_internal.h (and included by config.h) - drop include inttypes.h from public xine.h, replaced by custom os_type.h, idea origins from Ogg/Vorbis public headers - disable generating inttypes.h: generated replacement isn't enough for xine-lib but nobody complained (and for M$VC we have special version) - better including headers for win32, let dvdnav use its mutex wrapper - updated M$VC port Result: - xine is compiled nicely by MinGW, CygWin and paritaly M$VC - frontends in M$VC port don't require additional helping headers - moved some platform specific things from xine-utils and win32/contrib to lib/ Finally I can start with real coding. :-) CVS patchset: 6982 CVS date: 2004/09/20 19:30:02