On Sat, 19 Jun 2004, Antonino A. Daplas wrote:
Thanks. Actually there's still a critical flaw in the set_con2fbmap code.
For one, con2fb_map is never initialized. It's just fortunate that this
array happens to be filled with zeroes so con2fb_map[n] will always return
zero and registered_fb[0] happens to contain a valid info. So it works, by
accident.
According to the C standard, global variables are initialized to zero, unless
specified otherwise.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND