File: segfaults.patch

package info (click to toggle)
openblas 0.3.5%2Bds-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 46,800 kB
  • sloc: asm: 1,110,696; ansic: 216,025; fortran: 74,466; makefile: 11,282; perl: 3,991; python: 661; sh: 152
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
 }