You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

segfaults.patch 387 B

123456789101112
  1. diff -ruN common_linux.h.orig common_linux.h
  2. --- common_linux.h.orig 2012-04-23 11:27:55.000000000 +0800
  3. +++ common_linux.h 2012-05-08 23:43:00.000000000 +0800
  4. @@ -77,7 +77,7 @@
  5. #else
  6. //Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34
  7. // unsigned long null_nodemask=0;
  8. - return syscall(SYS_mbind, addr, len, mode, nodemask, maxnode, flags);
  9. + return 0;
  10. #endif
  11. }