Mailinglist Archive: opensuse-bugs (14006 mails)
| < Previous | Next > |
[Bug 381758] xosview doesn't start
- From: bugzilla_noreply@xxxxxxxxxx
- Date: Thu, 24 Apr 2008 14:39:47 -0600 (MDT)
- Message-id: <20080424203947.C886724538D@xxxxxxxxxxxxxxxxxxxxxx>
https://bugzilla.novell.com/show_bug.cgi?id=381758
User koenig@xxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=381758#c9
--- Comment #9 from Harald Koenig <koenig@xxxxxxxx> 2008-04-24 14:39:47 MST ---
(In reply to comment #8 from Harald Koenig)
that's not enough, there is always one more bug ;-(
-------------------------------------------------------------------------------
--- linux/intmeter.cc~ 2008-04-24 22:25:07.000000000 +0200
+++ linux/intmeter.cc 2008-04-24 22:23:00.000000000 +0200
@@ -94,7 +94,8 @@
while ( !intfile.eof() ){
intfile >> idx;
- intno = realintnum[idx];
+ if (idx < 1024)
+ intno = realintnum[idx];
if(intno>=numBits())
updateirqcount(intno,false);
if (!intfile) break;
-------------------------------------------------------------------------------
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
User koenig@xxxxxxxx added comment
https://bugzilla.novell.com/show_bug.cgi?id=381758#c9
--- Comment #9 from Harald Koenig <koenig@xxxxxxxx> 2008-04-24 14:39:47 MST ---
(In reply to comment #8 from Harald Koenig)
so maybe better use something like
-------------------------------------------------------------------------------
--- linux/intmeter.cc~ 2008-04-21 14:01:57.000000000 +0200
+++ linux/intmeter.cc 2008-04-24 20:50:58.000000000 +0200
@@ -184,7 +184,8 @@
intno = i;
else {
intno = idx;
- realintnum[i] = idx++;
+ if (i < 1024)
+ realintnum[i] = idx++;
}
if (!intfile) break;
intfile.ignore(1024, '\n');
-------------------------------------------------------------------------------
that's not enough, there is always one more bug ;-(
-------------------------------------------------------------------------------
--- linux/intmeter.cc~ 2008-04-24 22:25:07.000000000 +0200
+++ linux/intmeter.cc 2008-04-24 22:23:00.000000000 +0200
@@ -94,7 +94,8 @@
while ( !intfile.eof() ){
intfile >> idx;
- intno = realintnum[idx];
+ if (idx < 1024)
+ intno = realintnum[idx];
if(intno>=numBits())
updateirqcount(intno,false);
if (!intfile) break;
-------------------------------------------------------------------------------
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| < Previous | Next > |