[U-Boot] [PATCH V2] memcpy/memmove: Do not copy to same address

Alexander Holler holler at ahsoftware.de
Tue May 24 15:03:48 CEST 2011


Am 24.05.2011 05:47, schrieb Mike Frysinger:

>> I've never seen a valid use of strcpy() with a null-pointer in real
>> world programs, which we are talking about, except in bugs.
>
> i'm lazy and type "0" all the time for loading files, copying memory,
> displaying things, etc... in u-boot.  i dont feel like retraining my finger
> muscle memory if i dont have to ;).
> -mike

Using a 4 should be better for your finger.

Alexander


More information about the U-Boot mailing list