https://bugzilla.novell.com/show_bug.cgi?id=363937
User olh@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=363937#c2
Olaf Hering changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |olh@novell.com
AssignedTo|olh@novell.com |fehr@novell.com
Status|ASSIGNED |NEW
--- Comment #2 from Olaf Hering 2008-03-11 10:13:46 MST ---
I think its a logic bug, the if (mac || peg) should be if (mac && peg) because
is_ppc_mac is always 0:
375 if( proc_arch == "ppc" )
376 {
377 AsciiFile cpu( "/proc/cpuinfo" );
378 int l = cpu.find( 0, "^machine\t" );
379 y2milestone( "line:%d", l );
380 if( l >= 0 )
381 {
382 string line = cpu[l];
383 line = extractNthWord( 2, line );
384 y2milestone( "line:%s", line.c_str() );
385 is_ppc_mac = line.find( "PowerMac" )==0 || line.find(
"PowerBook" )==0;
386 is_ppc_pegasos = line.find( "EFIKA5K2" )==0;
387 if( is_ppc_mac == 0 || is_ppc_pegasos == 0 )
388 {
389 line = cpu[l];
390 line = extractNthWord( 3, line );
391 y2milestone( "line:%s", line.c_str() );
392 is_ppc_pegasos = line.find( "Pegasos" )==0;
393 }
394 }
395 }
if machine: is not pmac and not efika, check if it is pegaso
--
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.