View | Details | Raw Unified
Collapse All | Expand All

(-) mc-4.6.0-orig/vfs/smb/configure (+2 lines)
 Lines 3546-3551    Link Here 
cat >>conftest.$ac_ext <<_ACEOF
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h.  */
/* end confdefs.h.  */
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/utsname.h>
#include <sys/utsname.h>
main() {
main() {
(-) mc-4.6.0-orig/vfs/smb/configure.in (+2 lines)
 Lines 458-463    Link Here 
        old_CPPFLAGS="$CPPFLAGS"
        old_CPPFLAGS="$CPPFLAGS"
        CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
        CPPFLAGS="-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE $CPPFLAGS"
       AC_TRY_RUN([
       AC_TRY_RUN([
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include <unistd.h>
#include <sys/utsname.h>
#include <sys/utsname.h>
main() {
main() {
(-) mc-4.6.0-orig/vfs/smb/tests/crypttest.c (-2 / +2 lines)
 Lines 803-811    Link Here 
	strcpy(passwd, "12345678");
	strcpy(passwd, "12345678");
	strcpy(salt, "12345678");
	strcpy(salt, "12345678");
	
	
	strcpy(c_out1, crypt(passwd, salt));
	strcpy(c_out1, (const char *) crypt(passwd, salt));
	salt[2] = '\0';
	salt[2] = '\0';
	strcpy(c_out2, crypt(passwd, salt));
	strcpy(c_out2, (const char *) crypt(passwd, salt));
	/*
	/*
	 * If the non-trucated salt fails but the
	 * If the non-trucated salt fails but the