From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alexander Holler Date: Tue, 24 May 2011 15:03:48 +0200 Subject: [U-Boot] [PATCH V2] memcpy/memmove: Do not copy to same address In-Reply-To: <201105232347.02781.vapier@gentoo.org> References: <1302591520-12517-1-git-send-email-weisserm@arcor.de> <20110523222249.76592CF5CA6@gemini.denx.de> <4DDAE1F9.70008@ahsoftware.de> <201105232347.02781.vapier@gentoo.org> Message-ID: <4DDBACB4.2040306@ahsoftware.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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