12 lines
389 B
Plaintext
12 lines
389 B
Plaintext
$OpenBSD: patch-liboil_liboilcpu_c,v 1.1 2004/12/13 00:00:35 jolan Exp $
|
|
--- liboil/liboilcpu.c.orig Fri Sep 3 16:39:10 2004
|
|
+++ liboil/liboilcpu.c Sun Dec 12 17:47:00 2004
|
|
@@ -64,6 +64,7 @@ oil_cpu_i386_getflags(void)
|
|
char **f;
|
|
|
|
cpuinfo = get_cpuinfo();
|
|
+ if (cpuinfo == NULL) return;
|
|
|
|
cpuinfo_flags = get_cpuinfo_flags_string(cpuinfo);
|
|
if (cpuinfo_flags == NULL) return;
|