Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 102356 | Differences between
and this patch

Collapse All | Expand All

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

Return to bug 102356