blob: 69573406d64f9855b987ea88dacfeb234d32b5c4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
$NetBSD: patch-ab,v 1.5 2002/07/11 10:23:13 abs Exp $
--- tree.c.orig Tue May 14 21:20:08 2002
+++ tree.c
@@ -883,8 +883,16 @@
}
else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL)
*name = "Unix:Linux";
+ else if (strstr(whole, "NetBSD") != NULL)
+ *name = "Unix:NetBSD";
+ else if (strstr(whole, "OpenBSD") != NULL)
+ *name = "Unix:OpenBSD";
+ else if (strstr(whole, "FreeBSD") != NULL)
+ *name = "Unix:FreeBSD";
+ else if (strstr(whole, "BSDi") != NULL)
+ *name = "Unix:BSDi";
else if (strstr(whole, "BSD") != NULL)
- *name = "Unix:BSD";
+ *name = "Unix:otherBSD";
else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL)
*name = "Unix:SunOS";
else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL ||
|