avr-libc-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-libc-dev] Re: Request for cbrt() and strdup to be added to libc


From: Joerg Wunsch
Subject: Re: [avr-libc-dev] Re: Request for cbrt() and strdup to be added to libc
Date: Sun, 22 Jun 2008 22:11:42 +0200
User-agent: Mutt/1.5.11

As Joerg Wunsch wrote:

> >        memcpy(copy, str, len);
> 
> Better copy len+1 so the trailing \0 will be copied as well.

Drop that, it's nonsense, sorry. ;-)  (I overlooked the +1 earlier.)

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]