Cross Reference: firefox-03-strcasestr.patch
xref
: /
solaris-userland-s11u3
/
components
/
desktop
/
firefox
/
patches
/
firefox-03-strcasestr.patch
Home
History
Annotate
Line#
Navigate
Download
Search
only in
./
7033
N/A
The 'uname' part is necessary because the uname() function returns a
7033
N/A
non-negative value.
7033
N/A
7033
N/A
diff --git
a/widget/GfxInfoX11.cpp
b/widget/GfxInfoX11.cpp
7033
N/A
---
a/widget/GfxInfoX11.cpp
7033
N/A
+++
b/widget/GfxInfoX11.cpp
7033
N/A
@@ -135,7 +136,7 @@
7033
N/A
// only useful for Linux kernel version check for FGLRX driver.
7033
N/A
// assumes X client == X server, which is sad.
7033
N/A
struct utsname unameobj;
7033
N/A
- if (!uname(&unameobj))
7033
N/A
+ if (uname(&unameobj) >= 0)
7033
N/A
{
7033
N/A
mOS.Assign
(
unameobj.sysname
);
7033
N/A
mOSRelease.Assign
(
unameobj.release
);