Dear Adrian Reber,
In message <20101226094133.GA17243(a)lisas.de> you wrote:
> The getpagesize() man page clearly explains why the original code
> should not be using PAGE_SIZE. However, it also says getpagesize()
> itself is deprecated and instead you should use sysconf(_SC_PAGESIZE).
Thanks! I changed it to sysconf(_SC_PAGESIZE) and submitted a bug
report.
In addition, the return code of calloc() should probably be
checked...
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd(a)denx.de
grep me no patterns and I'll tell you no lines.