On 06/24/13 15:12, Laszlo Ersek wrote:

> On the other hand, I think we should implement this more simply. What do
> you think of the attached patch?

... In any case, your patch fixes a very annoying bug. If Jordan prefers
your patch over my suggestion (or, of course, either of you points out a
bug in my suggestion), then I'm happy to give my R-b:

Reviewed-by: Laszlo Ersek <[email protected]>


I just think that we should fix the problem more directly, not unlike
the following pattern:

int
function(type1 param1, ...)
{
  static bool initialized;

  if (!initialized) {
    /* set up stuff at first call */
    initialized = true;
  }

  /* do stuff needed for each call */
  return 0;
}


Thanks,
Laszlo

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to