
14 Oct
2011
14 Oct
'11
9:27 p.m.
Dear Simon Glass,
In message CAPnjgZ1L_5wuenKG25COx+-xHr+ULU82-X1HCg_E2r9ut8dGPw@mail.gmail.com you wrote:
and I cannot see how getenv_int() would work before relocation.
From what I can tell the existing getenv() function deals with this automatically by looking at the global flags.
This is intended just for emergency cases to fix a number of places where code is broken, and maintainers don't bother to fix their code.
It is NOT recommended to use this in general.
Please do NOT replace the use of getenv_f() with (direct or indirect) calls to getenv().
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@denx.de
There are bugs and then there are bugs. And then there are bugs.
- Karl Lehenbauer