mirror of
https://github.com/Wind4/vlmcsd.git
synced 2024-12-22 10:35:22 +01:00
vlmcsd-svn818-2016-03-07-Hotbird64
This commit is contained in:
parent
1af203d2a8
commit
1c86f7a6bf
@ -159,7 +159,7 @@ static int getDnsRawAnswer(const char *restrict query, unsigned char** receive_b
|
||||
char* querystring = (char*)alloca(strlen(query) + 12);
|
||||
strcpy(querystring, "_vlmcs._tcp");
|
||||
strcat(querystring, query);
|
||||
bytes_received = res_query(querystring, C_IN, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
bytes_received = res_query(querystring, ns_c_in, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
# endif
|
||||
}
|
||||
else
|
||||
|
BIN
floppy144.vfd
BIN
floppy144.vfd
Binary file not shown.
@ -345,7 +345,7 @@ __pure BOOL getArgumentBool(int_fast8_t *result, const char *const argument)
|
||||
{
|
||||
if (
|
||||
!strncasecmp(argument, "true", 4) ||
|
||||
!strncasecmp(argument, "on", 4) ||
|
||||
!strncasecmp(argument, "on", 2) ||
|
||||
!strncasecmp(argument, "yes", 3) ||
|
||||
!strncasecmp(argument, "1", 1)
|
||||
)
|
||||
|
0
make_dragonfly
Normal file → Executable file
0
make_dragonfly
Normal file → Executable file
0
make_freebsd
Normal file → Executable file
0
make_freebsd
Normal file → Executable file
1
make_linux
Normal file → Executable file
1
make_linux
Normal file → Executable file
@ -21,6 +21,7 @@ mkdir -p binaries/Linux/intel/static
|
||||
mkdir -p binaries/Linux/intel/musl
|
||||
|
||||
mkdir -p binaries/Linux/sparc32/glibc
|
||||
mkdir -p binaries/Linux/s390/glibc
|
||||
|
||||
mkdir -p binaries/Android/arm/bionic
|
||||
mkdir -p binaries/Android/arm/static
|
||||
|
50
make_mainframe_linux
Executable file
50
make_mainframe_linux
Executable file
@ -0,0 +1,50 @@
|
||||
#!/bin/bash
|
||||
|
||||
SMALLCC="-pipe -fno-common -fno-exceptions -fno-stack-protector -fno-unwind-tables -fno-asynchronous-unwind-tables -fmerge-all-constants"
|
||||
SMALLLD="-pipe -Wl,--hash-style=sysv -Wl,-z,norelro -Wl,--build-id=none"
|
||||
SMALL="$SMALLCC $SMALLLD"
|
||||
|
||||
export CFLAGS="$SMALLCC"
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m31 -mesa -mpacked-stack -msmall-exec"
|
||||
export LDFLAGS="$SMALLLD -Wl,--hash-style=gnu"
|
||||
export THREADS=0
|
||||
export FEATURES=full
|
||||
|
||||
export MULTI_NAME=vlmcsdmulti-s390-glibc
|
||||
export CLIENT_NAME=vlmcs-s390-glibc
|
||||
export PROGRAM_NAME=vlmcsd-s390-glibc
|
||||
|
||||
make -B -j`nproc` $CLIENT_NAME $PROGRAM_NAME
|
||||
|
||||
rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
|
||||
make -j`nproc` $MULTI_NAME
|
||||
|
||||
sstrip -z $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mzarch -mpacked-stack -msmall-exec"
|
||||
export MULTI_NAME=vlmcsdmulti-s390x-glibc
|
||||
export CLIENT_NAME=vlmcs-s390x-glibc
|
||||
export PROGRAM_NAME=vlmcsd-s390x-glibc
|
||||
|
||||
make -B -j`nproc` $CLIENT_NAME $PROGRAM_NAME
|
||||
|
||||
rm -f vlmcsd.o vlmcs.o vlmcsdmulti.o
|
||||
export PLATFORMFLAGS="-flto=jobserver -fwhole-program -m64 -mzarch -mpacked-stack -msmall-exec"
|
||||
make -j`nproc` $MULTI_NAME
|
||||
|
||||
sstrip -z $CLIENT_NAME $PROGRAM_NAME $MULTI_NAME
|
||||
|
||||
cp -af vlmcsd-s390-glibc /usr/local/sbin/vlmcsd
|
||||
cp -af vlmcs-s390-glibc /usr/local/bin/vlmcs
|
||||
|
||||
mkdir -p /usr/local/man/man1 2>/dev/null
|
||||
mkdir -p /usr/local/man/man5 2>/dev/null
|
||||
mkdir -p /usr/local/man/man8 2>/dev/null
|
||||
mkdir -p /usr/local/man/man7 2>/dev/null
|
||||
cp -a vlmcs.1 vlmcsdmulti.1 /usr/local/man/man1/
|
||||
cp -a vlmcsd.7 /usr/local/man/man7/
|
||||
cp -a vlmcsd.8 /usr/local/man/man8/
|
||||
cp -a vlmcsd.ini.5 /usr/local/man/man5/
|
||||
pbzip2 -f -9 /usr/local/man/man5/vlmcsd.ini.5 /usr/local/man/man1/vlmcs.1 /usr/local/man/man1/vlmcsdmulti.1 /usr/local/man/man7/vlmcsd.7 /usr/local/man/man8/vlmcsd.8
|
||||
|
||||
scp -p vlmcsdmulti-s390-glibc vlmcs-s390-glibc vlmcsd-s390-glibc vlmcsdmulti-s390x-glibc vlmcs-s390x-glibc vlmcsd-s390x-glibc ubuntu64.internal:x/binaries/Linux/s390/glibc
|
0
make_minix
Normal file → Executable file
0
make_minix
Normal file → Executable file
0
make_netbsd
Normal file → Executable file
0
make_netbsd
Normal file → Executable file
0
make_openbsd
Normal file → Executable file
0
make_openbsd
Normal file → Executable file
32
make_osx
Normal file → Executable file
32
make_osx
Normal file → Executable file
@ -20,19 +20,19 @@ make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x64 PROGRAM_NAME=vlmcsd-MacOSX-x64 CC=c
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-MacOSX-x64 MULTI_NAME=vlmcsdmulti-MacOSX-x64 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $MAKEFLAGS vlmcsd-MacOSX-x64-threads THREADS=1 PROGRAM_NAME=vlmcsd-MacOSX-x64-threads CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x86-openssl-EXPERIMENTAL PROGRAM_NAME=vlmcsd-MacOSX-x86-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes_soft CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.4" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x64-openssl-EXPERIMENTAL PROGRAM_NAME=vlmcsd-MacOSX-x64-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes_soft CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.4" && \
|
||||
#make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x86-openssl-EXPERIMENTAL PROGRAM_NAME=vlmcsd-MacOSX-x86-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes_soft CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.4" && \
|
||||
#make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x64-openssl-EXPERIMENTAL PROGRAM_NAME=vlmcsd-MacOSX-x64-openssl-EXPERIMENTAL CRYPTO=openssl_with_aes_soft CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.4" && \
|
||||
|
||||
#make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-7.1-armv7 PROGRAM_NAME=vlmcsd-iOS-7.1-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
#make $REUSEOBJFLAGS vlmcsdmulti-iOS-7.1-armv7 MULTI_NAME=vlmcsdmulti-iOS-7.1-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk" && \
|
||||
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-8.4-armv7 PROGRAM_NAME=vlmcsd-iOS-8.4-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 -isysroot ~/toolchains/iPhoneOS8.4.sdk" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-9.1-armv7 PROGRAM_NAME=vlmcsd-iOS-9.1-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 -isysroot ~/toolchains/iPhoneOS9.1.sdk" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-iOS-8.4-armv7 MULTI_NAME=vlmcsdmulti-iOS-8.4-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 -isysroot ~/toolchains/iPhoneOS8.4.sdk" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-8.4-armv8-aarch64 PROGRAM_NAME=vlmcsd-iOS-8.4-armv8-aarch64 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -arch arm64 -miphoneos-version-min=7.0 -isysroot ~/toolchains/iPhoneOS8.4.sdk" && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-iOS-9.1-armv7 MULTI_NAME=vlmcsdmulti-iOS-9.1-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 -isysroot ~/toolchains/iPhoneOS9.1.sdk" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-9.1-armv8-aarch64 PROGRAM_NAME=vlmcsd-iOS-9.1-armv8-aarch64 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -arch arm64 -miphoneos-version-min=7.0 -isysroot ~/toolchains/iPhoneOS9.1.sdk" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-iOS-8.4-armv8-aarch64 MULTI_NAME=vlmcsdmulti-iOS-8.4-armv8-aarch64 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -arch arm64 -miphoneos-version-min=7.0 -isysroot ~/toolchains/iPhoneOS8.4.sdk" && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-iOS-9.1-armv8-aarch64 MULTI_NAME=vlmcsdmulti-iOS-9.1-armv8-aarch64 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-m64 -arch arm64 -miphoneos-version-min=7.0 -isysroot ~/toolchains/iPhoneOS9.1.sdk" && \
|
||||
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-6.1-armv7 PROGRAM_NAME=vlmcsd-iOS-6.1-armv7 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-mthumb -m32 -arch armv7 -miphoneos-version-min=1.0 --sysroot ~/toolchains/iPhoneOS6.1.sdk -isysroot ~/toolchains/iPhoneOS6.1.sdk" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
@ -47,28 +47,28 @@ PATH=~/toolchains/iOS5.1-MacOS-Lion/usr/bin:$PATH make $MAKEFLAGS CLIENT_NAME=vl
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
PATH=~/toolchains/iOS5.1-MacOS-Lion/usr/bin:$PATH make $REUSEOBJFLAGS vlmcsdmulti-iOS-5.1-armv6-clang3.1 MULTI_NAME=vlmcsdmulti-iOS-5.1-armv6-clang3.1 CC=clang CFLAGS="$CFCLANG" PLATFORMFLAGS="-arch armv6 -miphoneos-version-min=1.0 --sysroot ~/toolchains/iPhoneOS5.1.sdk -isysroot ~/toolchains/iPhoneOS5.1.sdk" && \
|
||||
|
||||
PATH=~/toolchains/gcc4.2/usr/bin/bin:$PATH make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-4.1-armv6-llvm-gcc4.2 PROGRAM_NAME=vlmcsd-iOS-4.1-armv6-llvm-gcc4.2 CC=llvm-g++-4.2 CFLAGS="$CFGCC42" PLATFORMFLAGS="-arch armv6 -miphoneos-version-min=1.0 --sysroot ~/toolchains/iPhoneOS4.1.sdk -isysroot ~/toolchains/iPhoneOS4.1.sdk" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
PATH=~/toolchains/gcc4.2/usr/bin/bin:$PATH make $REUSEOBJFLAGS vlmcsdmulti-iOS-4.1-armv6-llvm-gcc4.2 MULTI_NAME=vlmcsdmulti-iOS-4.1-armv6-llvm-gcc4.2 CC=llvm-g++-4.2 CFLAGS="$CFGCC42" PLATFORMFLAGS="-arch armv6 -miphoneos-version-min=1.0 --sysroot ~/toolchains/iPhoneOS4.1.sdk -isysroot ~/toolchains/iPhoneOS4.1.sdk" && \
|
||||
#PATH=~/toolchains/gcc4.2/usr/bin/bin:$PATH make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-4.1-armv6-llvm-gcc4.2 PROGRAM_NAME=vlmcsd-iOS-4.1-armv6-llvm-gcc4.2 CC=llvm-g++-4.2 CFLAGS="$CFGCC42" PLATFORMFLAGS="-arch armv6 -miphoneos-version-min=1.0 --sysroot ~/toolchains/iPhoneOS4.1.sdk -isysroot ~/toolchains/iPhoneOS4.1.sdk" && \
|
||||
#rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
#PATH=~/toolchains/gcc4.2/usr/bin/bin:$PATH make $REUSEOBJFLAGS vlmcsdmulti-iOS-4.1-armv6-llvm-gcc4.2 MULTI_NAME=vlmcsdmulti-iOS-4.1-armv6-llvm-gcc4.2 CC=llvm-g++-4.2 CFLAGS="$CFGCC42" PLATFORMFLAGS="-arch armv6 -miphoneos-version-min=1.0 --sysroot ~/toolchains/iPhoneOS4.1.sdk -isysroot ~/toolchains/iPhoneOS4.1.sdk" && \
|
||||
|
||||
#PATH=~/toolchains/gcc4.2/usr/bin:$PATH make $MAKEFLAGS CLIENT_NAME=vlmcs-iOS-4.1-armv7-clang PROGRAM_NAME=vlmcsd-iOS-4.1-armv7-llvm-clang CC=~/toolchains/gcc4.2/usr/bin/bin/clang CFLAGS="$CFGCC42" PLATFORMFLAGS="-mthumb -arch armv7 -miphoneos-version-min=4.1 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk" && \
|
||||
#rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o && \
|
||||
#PATH=~/toolchains/gcc4.2/usr/bin:$PATH make $REUSEOBJFLAGS vlmcsdmulti-iOS-4.1-armv7-llvm-clang MULTI_NAME=vlmcsdmulti-iOS-4.1-armv7-llvm-clang CC=~/toolchains/gcc4.2/usr/bin/bin/clang CFLAGS="$CFGCC42" PLATFORMFLAGS="-mthumb -arch armv7 -miphoneos-version-min=4.1 --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.1.sdk" && \
|
||||
|
||||
|
||||
PATH=~/toolchains/gcc4.2/usr/bin:$PATH make -Bj PROGRAM_NAME=vlmcsd-MacOSX-ppc CLIENT_NAME=vlmcs-MacOSX-ppc CC=gcc CFLAGS="$CFGCC42 -isysroot ~/toolchains/MacOSX10.5.sdk -arch ppc -mmacosx-version-min=10.0"
|
||||
PATH=~/toolchains/gcc4.2/usr/bin:$PATH make -Bj PROGRAM_NAME=vlmcsd-MacOSX-ppc CLIENT_NAME=vlmcs-MacOSX-ppc CC=gcc CFLAGS="$CFGCC42 -isysroot ~/toolchains/MacOSX10.5.sdk -arch ppc -mmacosx-version-min=10.0" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
PATH=~/toolchains/gcc4.2/usr/bin:$PATH make -j vlmcsdmulti-MacOSX-ppc MULTI_NAME=vlmcsdmulti-MacOSX-ppc CC=gcc CFLAGS="$CFGCC42 -isysroot ~/toolchains/MacOSX10.5.sdk -arch ppc -mmacosx-version-min=10.0"
|
||||
|
||||
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x86-gcc PROGRAM_NAME=vlmcsd-MacOSX-x86-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x86-gcc PROGRAM_NAME=vlmcsd-MacOSX-x86-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.11" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-MacOSX-x86-gcc MULTI_NAME=vlmcsdmulti-MacOSX-x86-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $MAKEFLAGS vlmcsd-MacOSX-x86-threads-gcc THREADS=1 PROGRAM_NAME=vlmcsd-MacOSX-x86-threads-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x64-gcc PROGRAM_NAME=vlmcsd-MacOSX-x64-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-MacOSX-x86-gcc MULTI_NAME=vlmcsdmulti-MacOSX-x86-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.11" && \
|
||||
make $MAKEFLAGS vlmcsd-MacOSX-x86-threads-gcc THREADS=1 PROGRAM_NAME=vlmcsd-MacOSX-x86-threads-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m32 -march=core2 -mmacosx-version-min=10.11" && \
|
||||
make $MAKEFLAGS CLIENT_NAME=vlmcs-MacOSX-x64-gcc PROGRAM_NAME=vlmcsd-MacOSX-x64-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.11" && \
|
||||
rm -f vlmcs.o vlmcsd.o vlmcsdmulti.o *_all.* && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-MacOSX-x64-gcc MULTI_NAME=vlmcsdmulti-MacOSX-x64-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $MAKEFLAGS vlmcsd-MacOSX-x64-threads-gcc THREADS=1 PROGRAM_NAME=vlmcsd-MacOSX-x64-threads-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.0" && \
|
||||
make $REUSEOBJFLAGS vlmcsdmulti-MacOSX-x64-gcc MULTI_NAME=vlmcsdmulti-MacOSX-x64-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.11" && \
|
||||
make $MAKEFLAGS vlmcsd-MacOSX-x64-threads-gcc THREADS=1 PROGRAM_NAME=vlmcsd-MacOSX-x64-threads-gcc CC=gcc-5 CFLAGS="$CFGCC" PLATFORMFLAGS="-m64 -march=core2 -mmacosx-version-min=10.11" && \
|
||||
|
||||
# Sign the iOS binaries
|
||||
#ldid -S *iOS*
|
||||
|
0
make_solaris
Normal file → Executable file
0
make_solaris
Normal file → Executable file
0
make_windows
Normal file → Executable file
0
make_windows
Normal file → Executable file
0
make_windows_native
Normal file → Executable file
0
make_windows_native
Normal file → Executable file
@ -178,7 +178,11 @@ int ProcessActivationRequest(handle_t IDL_handle, int requestSize, unsigned char
|
||||
# endif // NO_LOG
|
||||
|
||||
// Discard any packet smaller than a v4 request
|
||||
if (requestSize < (int)sizeof(REQUEST_V4)) return RPC_S_CANNOT_SUPPORT;
|
||||
if (requestSize < (int)sizeof(REQUEST_V4))
|
||||
{
|
||||
if (!result) RpcStringFreeA(&clientIpAddress);
|
||||
return RPC_S_CANNOT_SUPPORT;
|
||||
}
|
||||
|
||||
*response = (uint8_t *)midl_user_allocate(MAX_RESPONSE_SIZE);
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Aug 25 00:13:50 2015 -->
|
||||
<!-- CreationDate: Tue Mar 8 00:06:21 2016 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
|
BIN
vlmcs.1.pdf
BIN
vlmcs.1.pdf
Binary file not shown.
@ -3610,7 +3610,7 @@ __pure BOOL getArgumentBool(int_fast8_t *result, const char *const argument)
|
||||
{
|
||||
if (
|
||||
!strncasecmp(argument, "true", 4) ||
|
||||
!strncasecmp(argument, "on", 4) ||
|
||||
!strncasecmp(argument, "on", 2) ||
|
||||
!strncasecmp(argument, "yes", 3) ||
|
||||
!strncasecmp(argument, "1", 1)
|
||||
)
|
||||
@ -5793,7 +5793,7 @@ static int getDnsRawAnswer(const char *restrict query, unsigned char** receive_b
|
||||
char* querystring = (char*)alloca(strlen(query) + 12);
|
||||
strcpy(querystring, "_vlmcs._tcp");
|
||||
strcat(querystring, query);
|
||||
bytes_received = res_query(querystring, C_IN, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
bytes_received = res_query(querystring, ns_c_in, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
# endif
|
||||
}
|
||||
else
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Aug 25 00:13:50 2015 -->
|
||||
<!-- CreationDate: Tue Mar 8 00:06:21 2016 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
|
BIN
vlmcsd.7.pdf
BIN
vlmcsd.7.pdf
Binary file not shown.
10
vlmcsd.8
10
vlmcsd.8
@ -1,5 +1,5 @@
|
||||
.mso www.tmac
|
||||
.TH VLMCSD 8 "July 2015" "Hotbird64" "KMS Activation Manual"
|
||||
.TH VLMCSD 8 "September 2015" "Hotbird64" "KMS Activation Manual"
|
||||
.LO 8
|
||||
|
||||
.SH NAME
|
||||
@ -108,7 +108,7 @@ Use \fIePID\fR as Windows ePID. If specified, \fB-r\fR is disregarded for Window
|
||||
Use \fIePID\fR as Office 2010 ePID (including Project and Visio). If specified, \fB-r\fR is disregarded for Office 2010.
|
||||
|
||||
.IP "\fB-3\fR \fIePID\fR"
|
||||
Use \fIePID\fR as Office 2013 ePID (including Project and Visio). If specified, \fB-r\fR is disregarded for Office 2013.
|
||||
Use \fIePID\fR as Office 2013/2016 ePID (including Project and Visio). If specified, \fB-r\fR is disregarded for Office 2013/2016.
|
||||
|
||||
.IP "\fB-H\fR \fIHwId\fR"
|
||||
Use \fIHwId\fR for all products. All HWIDs in the ini file (see \fB-i\fR) will not be used. In an ini file you can specify a seperate HWID for each \fIapplication-guid\fR. This is not possible when entering a HWID from the command line.
|
||||
@ -189,7 +189,7 @@ Make sure that the user you specify has at least execute permission for your exe
|
||||
|
||||
For your convenience you can use the special username "/l" as a shortcut for "NT AUTHORITY\eLocalService" and "/n" for "NT AUTHORITY\eNetworkService". "vlmcsd\ \-s\ \-U\ /n" installs the service to run as "NT AUTHORITY\eNetworkService".
|
||||
|
||||
.IP "\fB-W\fR \fIpassword\fI"
|
||||
.IP "\fB-W\fR \fIpassword\fR"
|
||||
Can only be used together with \fB-s\fR. Specifies a \fIpassword\fR for the corresponding username you use with -U. SYSTEM, "NT AUTHORITY\eNetworkService", "NT AUTHORITY\eLocalService" do not require a password.
|
||||
|
||||
If you specify a user with even lower privileges than "NT AUTHORITY\eNetworkService", you must specify its password. You also have to grant the "Log on as a service" right to that user.
|
||||
@ -217,10 +217,10 @@ If you used the 'user' and/or 'group' directive in an ini file these are ignored
|
||||
Signaling is not available in the native Windows version and in the Cygwin version when it runs as Windows service.
|
||||
|
||||
.SH SUPPORTED OPERATING SYSTEMS
|
||||
\fBvlmcsd\fR compiles and runs on Linux, Windows (no Cygwin required but explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix, Solaris, OpenIndiana, Android and iOS. Other POSIX or unixoid OSses may work with unmodified sources or may require minor porting efforts.
|
||||
\fBvlmcsd\fR compiles and runs on Linux, Windows (no Cygwin required but explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Dragonfly BSD, Minix, Solaris, OpenIndiana, Android and iOS. Other POSIX or unixoid OSses may work with unmodified sources or may require minor porting efforts.
|
||||
|
||||
.SH SUPPORTED PRODUCTS
|
||||
\fBvlmcsd\fR can answer activation requests for the following products: Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Office 2010, Project 2010, Visio 2010, Office 2013, Project 2013, Visio 2013.
|
||||
\fBvlmcsd\fR can answer activation requests for the following products: Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows Server 2012 R2, Office 2010, Project 2010, Visio 2010, Office 2013, Project 2013, Visio 2013, Office 2016, Project 2016, Visio 2016.
|
||||
.PP
|
||||
Office, Project and Visio must be volume license versions.
|
||||
|
||||
|
@ -239,8 +239,8 @@ OPTIONS
|
||||
|
||||
|
||||
-3 ePID
|
||||
Use ePID as Office 2013 ePID (including Project and Visio). If
|
||||
specified, -r is disregarded for Office 2013.
|
||||
Use ePID as Office 2013/2016 ePID (including Project and Visio).
|
||||
If specified, -r is disregarded for Office 2013/2016.
|
||||
|
||||
|
||||
-H HwId
|
||||
@ -454,17 +454,18 @@ SIGNALS
|
||||
|
||||
SUPPORTED OPERATING SYSTEMS
|
||||
vlmcsd compiles and runs on Linux, Windows (no Cygwin required but
|
||||
explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix,
|
||||
Solaris, OpenIndiana, Android and iOS. Other POSIX or unixoid OSses may
|
||||
work with unmodified sources or may require minor porting efforts.
|
||||
explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Dragonfly
|
||||
BSD, Minix, Solaris, OpenIndiana, Android and iOS. Other POSIX or
|
||||
unixoid OSses may work with unmodified sources or may require minor
|
||||
porting efforts.
|
||||
|
||||
|
||||
SUPPORTED PRODUCTS
|
||||
vlmcsd can answer activation requests for the following products: Win‐
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows
|
||||
Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows
|
||||
Server 2012 R2, Office 2010, Project 2010, Visio 2010, Office 2013,
|
||||
Project 2013, Visio 2013.
|
||||
vlmcsd can answer activation requests for the following products: Win‐
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows
|
||||
Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows
|
||||
Server 2012 R2, Office 2010, Project 2010, Visio 2010, Office 2013,
|
||||
Project 2013, Visio 2013, Office 2016, Project 2016, Visio 2016.
|
||||
|
||||
Office, Project and Visio must be volume license versions.
|
||||
|
||||
@ -475,24 +476,24 @@ FILES
|
||||
|
||||
EXAMPLES
|
||||
vlmcsd -f
|
||||
Starts vlmcsd in foreground. Useful if you use it for the first
|
||||
time and want to see what's happening when a client requests
|
||||
Starts vlmcsd in foreground. Useful if you use it for the first
|
||||
time and want to see what's happening when a client requests
|
||||
activation.
|
||||
|
||||
|
||||
vlmcsd -l /var/log/vlmcsd.log
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm‐
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm‐
|
||||
csd.log.
|
||||
|
||||
|
||||
vlmcsd -L 192.168.1.17
|
||||
Starts vlmcsd as a daemon and listens on IP address 192.168.1.17
|
||||
only. This is useful for routers that have a public and a pri‐
|
||||
only. This is useful for routers that have a public and a pri‐
|
||||
vate IP address to prevent your KMS server from becoming public.
|
||||
|
||||
|
||||
vlmcsd -s -U /n -l C:\logs\vlmcsd.log
|
||||
Installs vlmcsd as a Windows service with low privileges and
|
||||
Installs vlmcsd as a Windows service with low privileges and
|
||||
logs everything to C:\logs\vlmcsd.log when the service is
|
||||
started with "net start vlmcsd".
|
||||
|
||||
@ -500,18 +501,18 @@ EXAMPLES
|
||||
BUGS
|
||||
An ePID specified in an ini file must not contain spaces.
|
||||
|
||||
The maximum number of -L options in the command line or listen state‐
|
||||
The maximum number of -L options in the command line or listen state‐
|
||||
ments in the inifile is the platform default for FD_SETSIZE. This is 64
|
||||
on Windows and 1024 on most Unixes.
|
||||
|
||||
|
||||
AUTHOR
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
DougQaid.
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
borus, ...
|
||||
|
||||
|
||||
@ -520,4 +521,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 July 2015 VLMCSD(8)
|
||||
Hotbird64 September 2015 VLMCSD(8)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Aug 25 00:13:50 2015 -->
|
||||
<!-- CreationDate: Tue Mar 8 00:06:22 2016 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -410,9 +410,9 @@ is disregarded for Office 2010.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-3</b> <i>ePID</i></p>
|
||||
|
||||
<p style="margin-left:22%;">Use <i>ePID</i> as Office 2013
|
||||
ePID (including Project and Visio). If specified, <b>-r</b>
|
||||
is disregarded for Office 2013.</p>
|
||||
<p style="margin-left:22%;">Use <i>ePID</i> as Office
|
||||
2013/2016 ePID (including Project and Visio). If specified,
|
||||
<b>-r</b> is disregarded for Office 2013/2016.</p>
|
||||
|
||||
<p style="margin-left:11%;"><b>-H</b> <i>HwId</i></p>
|
||||
|
||||
@ -748,9 +748,9 @@ Cygwin version when it runs as Windows service.</p>
|
||||
<p style="margin-left:11%; margin-top: 1em"><b>vlmcsd</b>
|
||||
compiles and runs on Linux, Windows (no Cygwin required but
|
||||
explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD,
|
||||
Minix, Solaris, OpenIndiana, Android and iOS. Other POSIX or
|
||||
unixoid OSses may work with unmodified sources or may
|
||||
require minor porting efforts.</p>
|
||||
Dragonfly BSD, Minix, Solaris, OpenIndiana, Android and iOS.
|
||||
Other POSIX or unixoid OSses may work with unmodified
|
||||
sources or may require minor porting efforts.</p>
|
||||
|
||||
<h2>SUPPORTED PRODUCTS
|
||||
<a name="SUPPORTED PRODUCTS"></a>
|
||||
@ -762,7 +762,8 @@ can answer activation requests for the following products:
|
||||
Windows Vista, Windows 7, Windows 8, Windows 8.1, Windows
|
||||
10, Windows Server 2008, Windows Server 2008 R2, Windows
|
||||
Server 2012, Windows Server 2012 R2, Office 2010, Project
|
||||
2010, Visio 2010, Office 2013, Project 2013, Visio 2013.</p>
|
||||
2010, Visio 2010, Office 2013, Project 2013, Visio 2013,
|
||||
Office 2016, Project 2016, Visio 2016.</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">Office, Project
|
||||
and Visio must be volume license versions.</p>
|
||||
|
BIN
vlmcsd.8.pdf
BIN
vlmcsd.8.pdf
Binary file not shown.
@ -239,8 +239,8 @@ OPTIONS
|
||||
|
||||
|
||||
-3 ePID
|
||||
Use ePID as Office 2013 ePID (including Project and Visio). If
|
||||
specified, -r is disregarded for Office 2013.
|
||||
Use ePID as Office 2013/2016 ePID (including Project and Visio).
|
||||
If specified, -r is disregarded for Office 2013/2016.
|
||||
|
||||
|
||||
-H HwId
|
||||
@ -454,17 +454,18 @@ SIGNALS
|
||||
|
||||
SUPPORTED OPERATING SYSTEMS
|
||||
vlmcsd compiles and runs on Linux, Windows (no Cygwin required but
|
||||
explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Minix,
|
||||
Solaris, OpenIndiana, Android and iOS. Other POSIX or unixoid OSses may
|
||||
work with unmodified sources or may require minor porting efforts.
|
||||
explicitly supported), Mac OS X, FreeBSD, NetBSD, OpenBSD, Dragonfly
|
||||
BSD, Minix, Solaris, OpenIndiana, Android and iOS. Other POSIX or
|
||||
unixoid OSses may work with unmodified sources or may require minor
|
||||
porting efforts.
|
||||
|
||||
|
||||
SUPPORTED PRODUCTS
|
||||
vlmcsd can answer activation requests for the following products: Win‐
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows
|
||||
Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows
|
||||
Server 2012 R2, Office 2010, Project 2010, Visio 2010, Office 2013,
|
||||
Project 2013, Visio 2013.
|
||||
vlmcsd can answer activation requests for the following products: Win‐
|
||||
dows Vista, Windows 7, Windows 8, Windows 8.1, Windows 10, Windows
|
||||
Server 2008, Windows Server 2008 R2, Windows Server 2012, Windows
|
||||
Server 2012 R2, Office 2010, Project 2010, Visio 2010, Office 2013,
|
||||
Project 2013, Visio 2013, Office 2016, Project 2016, Visio 2016.
|
||||
|
||||
Office, Project and Visio must be volume license versions.
|
||||
|
||||
@ -475,24 +476,24 @@ FILES
|
||||
|
||||
EXAMPLES
|
||||
vlmcsd -f
|
||||
Starts vlmcsd in foreground. Useful if you use it for the first
|
||||
time and want to see what's happening when a client requests
|
||||
Starts vlmcsd in foreground. Useful if you use it for the first
|
||||
time and want to see what's happening when a client requests
|
||||
activation.
|
||||
|
||||
|
||||
vlmcsd -l /var/log/vlmcsd.log
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm‐
|
||||
Starts vlmcsd as a daemon and logs everything to /var/log/vlm‐
|
||||
csd.log.
|
||||
|
||||
|
||||
vlmcsd -L 192.168.1.17
|
||||
Starts vlmcsd as a daemon and listens on IP address 192.168.1.17
|
||||
only. This is useful for routers that have a public and a pri‐
|
||||
only. This is useful for routers that have a public and a pri‐
|
||||
vate IP address to prevent your KMS server from becoming public.
|
||||
|
||||
|
||||
vlmcsd -s -U /n -l C:\logs\vlmcsd.log
|
||||
Installs vlmcsd as a Windows service with low privileges and
|
||||
Installs vlmcsd as a Windows service with low privileges and
|
||||
logs everything to C:\logs\vlmcsd.log when the service is
|
||||
started with "net start vlmcsd".
|
||||
|
||||
@ -500,18 +501,18 @@ EXAMPLES
|
||||
BUGS
|
||||
An ePID specified in an ini file must not contain spaces.
|
||||
|
||||
The maximum number of -L options in the command line or listen state‐
|
||||
The maximum number of -L options in the command line or listen state‐
|
||||
ments in the inifile is the platform default for FD_SETSIZE. This is 64
|
||||
on Windows and 1024 on most Unixes.
|
||||
|
||||
|
||||
AUTHOR
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
Written by crony12, Hotbird64 and vityan666. With contributions from
|
||||
DougQaid.
|
||||
|
||||
|
||||
CREDITS
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
Thanks to CODYQX4, deagles, eIcn, mikmik38, nosferati87, qad, Rati‐
|
||||
borus, ...
|
||||
|
||||
|
||||
@ -520,4 +521,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 July 2015 VLMCSD(8)
|
||||
Hotbird64 September 2015 VLMCSD(8)
|
||||
|
@ -1,4 +1,4 @@
|
||||
.TH VLMCSD.INI 5 "February 2015" "Hotbird64" "KMS Activation Manual"
|
||||
.TH VLMCSD.INI 5 "September 2015" "Hotbird64" "KMS Activation Manual"
|
||||
.LO 8
|
||||
|
||||
.SH NAME
|
||||
@ -101,7 +101,7 @@ Any valid GUID is being treated as a special \fBkeyword\fR in the ini file. It i
|
||||
.br
|
||||
0ff1ce15\-a989\-479d\-af46\-f275c6370663\ (Office 2013)
|
||||
|
||||
To use specific ePIDs for Windows, Office 2010 and Office 2013 you could add the following lines to vlmcsd.ini:
|
||||
To use specific ePIDs for Windows, Office 2010 and Office 2013/2016 you could add the following lines to vlmcsd.ini:
|
||||
|
||||
.SM "55c92734\-d682\-4d71\-983e\-d6ec3f16059f\ =\ 55041\-00206\-184\-207146\-03\-1062\-6002.0000\-3322013"
|
||||
.br
|
||||
|
@ -217,7 +217,7 @@ SPECIAL KEYWORDS
|
||||
59a52881-a989-479d-af46-f275c6370663 (Office 2010)
|
||||
0ff1ce15-a989-479d-af46-f275c6370663 (Office 2013)
|
||||
|
||||
To use specific ePIDs for Windows, Office 2010 and Office 2013 you
|
||||
To use specific ePIDs for Windows, Office 2010 and Office 2013/2016 you
|
||||
could add the following lines to vlmcsd.ini:
|
||||
|
||||
55c92734-d682-4d71-983e-d6ec3f16059f = 55041-00206-184-207146-03-1062-6002.0000-3322013
|
||||
@ -265,4 +265,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 February 2015 VLMCSD.INI(5)
|
||||
Hotbird64 September 2015 VLMCSD.INI(5)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Aug 25 00:13:50 2015 -->
|
||||
<!-- CreationDate: Tue Mar 8 00:06:22 2016 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
@ -380,8 +380,8 @@ application GUIDs:</p>
|
||||
2013)</p>
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em">To use specific
|
||||
ePIDs for Windows, Office 2010 and Office 2013 you could add
|
||||
the following lines to vlmcsd.ini:</p>
|
||||
ePIDs for Windows, Office 2010 and Office 2013/2016 you
|
||||
could add the following lines to vlmcsd.ini:</p>
|
||||
|
||||
|
||||
<p style="margin-left:11%; margin-top: 1em"><small>55c92734−d682−4d71−983e−d6ec3f16059f = 55041−00206−184−207146−03−1062−6002.0000−3322013
|
||||
|
BIN
vlmcsd.ini.5.pdf
BIN
vlmcsd.ini.5.pdf
Binary file not shown.
@ -217,7 +217,7 @@ SPECIAL KEYWORDS
|
||||
59a52881-a989-479d-af46-f275c6370663 (Office 2010)
|
||||
0ff1ce15-a989-479d-af46-f275c6370663 (Office 2013)
|
||||
|
||||
To use specific ePIDs for Windows, Office 2010 and Office 2013 you
|
||||
To use specific ePIDs for Windows, Office 2010 and Office 2013/2016 you
|
||||
could add the following lines to vlmcsd.ini:
|
||||
|
||||
55c92734-d682-4d71-983e-d6ec3f16059f = 55041-00206-184-207146-03-1062-6002.0000-3322013
|
||||
@ -265,4 +265,4 @@ SEE ALSO
|
||||
|
||||
|
||||
|
||||
Hotbird64 February 2015 VLMCSD.INI(5)
|
||||
Hotbird64 September 2015 VLMCSD.INI(5)
|
||||
|
@ -3985,7 +3985,7 @@ __pure BOOL getArgumentBool(int_fast8_t *result, const char *const argument)
|
||||
{
|
||||
if (
|
||||
!strncasecmp(argument, "true", 4) ||
|
||||
!strncasecmp(argument, "on", 4) ||
|
||||
!strncasecmp(argument, "on", 2) ||
|
||||
!strncasecmp(argument, "yes", 3) ||
|
||||
!strncasecmp(argument, "1", 1)
|
||||
)
|
||||
|
@ -1,5 +1,5 @@
|
||||
<!-- Creator : groff version 1.22.3 -->
|
||||
<!-- CreationDate: Tue Aug 25 00:13:50 2015 -->
|
||||
<!-- CreationDate: Tue Mar 8 00:06:22 2016 -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
|
||||
"http://www.w3.org/TR/html4/loose.dtd">
|
||||
<html>
|
||||
|
Binary file not shown.
@ -5359,7 +5359,7 @@ __pure BOOL getArgumentBool(int_fast8_t *result, const char *const argument)
|
||||
{
|
||||
if (
|
||||
!strncasecmp(argument, "true", 4) ||
|
||||
!strncasecmp(argument, "on", 4) ||
|
||||
!strncasecmp(argument, "on", 2) ||
|
||||
!strncasecmp(argument, "yes", 3) ||
|
||||
!strncasecmp(argument, "1", 1)
|
||||
)
|
||||
@ -7542,7 +7542,7 @@ static int getDnsRawAnswer(const char *restrict query, unsigned char** receive_b
|
||||
char* querystring = (char*)alloca(strlen(query) + 12);
|
||||
strcpy(querystring, "_vlmcs._tcp");
|
||||
strcat(querystring, query);
|
||||
bytes_received = res_query(querystring, C_IN, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
bytes_received = res_query(querystring, ns_c_in, ns_t_srv, *receive_buffer, RECEIVE_BUFFER_SIZE);
|
||||
# endif
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user