
14 Oct
2011
14 Oct
'11
11:33 p.m.
On Friday 14 October 2011 15:27:59 Wolfgang Denk wrote:
Simon Glass 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().
should we have getenv_ulong() and getenv_ulong_r() then ? -mike