File: segfaults.patch

package info (click to toggle)
openblas 0.3.21%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 55,584 kB
  • sloc: asm: 1,192,251; ansic: 327,031; fortran: 74,421; makefile: 13,364; sh: 4,649; perl: 4,414; python: 661; cpp: 244
file content (12 lines) | stat: -rw-r--r-- 387 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ruN common_linux.h.orig common_linux.h
--- common_linux.h.orig	2012-04-23 11:27:55.000000000 +0800
+++ common_linux.h	2012-05-08 23:43:00.000000000 +0800
@@ -77,7 +77,7 @@
 #else
 //Fixed randomly SEGFAULT when nodemask==NULL with above Linux 2.6.34
 //	unsigned long null_nodemask=0;
-	return syscall(SYS_mbind, addr, len, mode, nodemask, maxnode, flags);
+	return 0;
 #endif
 }