[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Please test new SILO

On Sun, 4 Jun 2006, Hendrik Sattler wrote:

Am Sonntag, 4. Juni 2006 12:20 schrieb Josip Rodin:

That's one funky patch. The previous version of the variable wasn't getting

A const string is always null-terminated. Maybe the problem was with it being

Right, AFAICT the compiler was assuming that buffer is const. Later in the code it is used to retrieve the architecture string from the PROM, and the buffer[4] char then determines the arch. With the const assumption this value was incorrectly set to 'c' at compile time, leading to misdetection of the architecture.

Best regards,

Jurij Smakov                                        jurij@wooyd.org
Key: http://www.wooyd.org/pgpkey/                   KeyID: C99E03CC

Reply to: