search for: flac__strncasecmp

Displaying 5 results from an estimated 5 matches for "flac__strncasecmp".

Did you mean: flac__strcasecmp
2012 Feb 07
2
[PATCH] Remove even more CPP hackery
...try.entry && entry.length > 0); { const FLAC__byte *eq = (FLAC__byte*)memchr(entry.entry, '=', entry.length); -#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ || defined __EMX__ +#if defined _MSC_VER || defined __BORLANDC__ || defined __MINGW32__ #define FLAC__STRNCASECMP strnicmp #else #define FLAC__STRNCASECMP strncasecmp diff --git a/src/share/grabbag/cuesheet.c b/src/share/grabbag/cuesheet.c index 7e62945..15ca5f3 100644 --- a/src/share/grabbag/cuesheet.c +++ b/src/share/grabbag/cuesheet.c @@ -240,7 +240,7 @@ static char *local__get_field_(char **s, FLAC__bool...
2013 Apr 02
2
flac 1.3.0pre3 pre-release
Janne Hyv?rinen wrote: > Surprisingly flac_mac had mistakenly gotten extra parameters for safe > string functions requiring further patching. > And here's patches for the changes in git for flactimer. Applied, thanks. > I noticed compat.h patch didn't make it into git. I know it may not be > perfect patch but unistd.h is in two different #ifdef checks. First one >
2013 Apr 07
0
flac 1.3.0pre3 pre-release
...nup so it shouldn't do any harm to environments that have worked in the past. -------------- next part -------------- diff --git a/include/share/compat.h b/include/share/compat.h index 88caf1e..222de65 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -93,13 +93,9 @@ #define FLAC__STRNCASECMP strncasecmp #endif -#if defined _MSC_VER || defined __MINGW32__ +#if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__ #include <io.h> /* for _setmode(), chmod() */ #include <fcntl.h> /* for _O_BINARY */ -#endif -#if defined __CYGWIN__ || defined __EM...
2017 Feb 09
1
[PATCH] Fix compile with cygwin
...n - *-*-cygwin|*mingw*) + *mingw*) CPPFLAGS="-D__MSVCRT_VERSION__=0x0601 $CPPFLAGS" os_is_windows=yes ;; diff --git a/include/share/compat.h b/include/share/compat.h index f74a5c1..2ad40fb 100644 --- a/include/share/compat.h +++ b/include/share/compat.h @@ -98,7 +98,7 @@ #define FLAC__STRNCASECMP strncasecmp #endif -#if defined _MSC_VER || defined __MINGW32__ || defined __CYGWIN__ || defined __EMX__ +#if defined _MSC_VER || defined __MINGW32__ || defined __EMX__ #include <io.h> /* for _setmode(), chmod() */ #include <fcntl.h> /* for _O_BINARY */ #else diff --git a/src/libF...
2015 Jul 21
1
A couple of questions about channel mapping
...> x VorbisComment: WAVEFORMATEXTENSIBLE_CHANNEL_MASK "0X" ("x" in uppercase) > is accepted now > > In flac we have: > if(strncmp(p, "=0x", 3)) > return false; > so it's case-sensitive. Should it be changed to case-insensitive > FLAC__STRNCASECMP? Yes. Off hand, every programming language I can think of that recognizes 0x... also recognizes 0X.... > 2) Previously flac accepted mono files with 0x0001 channel mask; mono files > with correct value (0x0004 = front center) were rejected without > --channel-map=none option. > (see...