FreeBSD Bugzilla – Attachment 115225 Details for
Bug 156984
www/analog doesn't recognize Chrome browser type properly
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 1.89 KB, created by
Kurt Lidl
on 2011-05-12 22:00:18 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Kurt Lidl
Created:
2011-05-12 22:00:18 UTC
Size:
1.89 KB
patch
obsolete
>--- src/tree.c.orig 2004-12-19 08:51:31.000000000 -0500 >+++ src/tree.c 2011-05-12 16:38:50.388298051 -0400 >@@ -769,11 +769,13 @@ > if (((*name = strstr(whole, "Mosaic")) != NULL && (len = 6)) || > ((*name = strstr(whole, "mosaic")) != NULL && (len = 6)) || > ((*name = strstr(whole, "Konqueror")) != NULL && (len = 9)) || >+ ((*name = strstr(whole, "Baiduspider")) != NULL && (len = 11)) || > ((*name = strstr(whole, "Galeon")) != NULL && (len = 6)) || > ((*name = strstr(whole, "Phoenix")) != NULL && (len = 7)) || > ((*name = strstr(whole, "Firebird")) != NULL && (len = 8)) || > ((*name = strstr(whole, "Firefox")) != NULL && (len = 7)) || > ((*name = strstr(whole, "Chimera")) != NULL && (len = 7)) || >+ ((*name = strstr(whole, "Chrome")) != NULL && (len = 6)) || > ((*name = strstr(whole, "Camino")) != NULL && (len = 6)) || > ((*name = strstr(whole, "Safari")) != NULL && (len = 6)) || > ((*name = strstr(whole, "WebTV")) != NULL && (len = 5)) || >@@ -904,8 +906,16 @@ > *name = "Macintosh"; > else if (strstr(whole, "Linux") != NULL || strstr(whole, "linux") != NULL) > *name = "Unix:Linux"; >- else if (strstr(whole, "BSD") != NULL) >- *name = "Unix:BSD"; >+ else if (strstr(whole, "FreeBSD") != NULL || strstr(whole, "freebsd") != NULL) >+ *name = "Unix:FreeBSD"; >+ else if (strstr(whole, "OpenBSD") != NULL || strstr(whole, "openbsd") != NULL) >+ *name = "Unix:OpenBSD"; >+ else if (strstr(whole, "NetBSD") != NULL || strstr(whole, "netbsd") != NULL) >+ *name = "Unix:NetBSD"; >+ else if (strstr(whole, "BSD/OS") != NULL || strstr(whole, "bsd/os") != NULL) >+ *name = "Unix:BSD/OS"; >+ else if (strstr(whole, "BSD") != NULL || strstr(whole, "bsd") != NULL) >+ *name = "Unix:Unknown BSD"; > else if (strstr(whole, "SunOS") != NULL || strstr(whole, "sunos") != NULL) > *name = "Unix:SunOS"; > else if (strstr(whole, "HP-UX") != NULL || strstr(whole, "HPUX") != NULL ||
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 156984
: 115225