svn commit: r319507 - head/sys/fs/msdosfs

Bryan Drewery bdrewery at FreeBSD.org
Sun Jun 4 23:47:32 UTC 2017


On 6/4/17 4:27 PM, Ed Maste wrote:
> On 4 June 2017 at 14:06, Bryan Drewery <bdrewery at freebsd.org> wrote:
>>
>> In r189170. It seems to me we should change systm.h back to a macro
>> #define memmove(dst, src, len) bcopy((src), (dst), (len))
> 
> Note that they're not quite equivalent: memmove returns dst, while
> bcopy has no return value.
> 

#define memmove(dst, src, len) (bcopy((src), (dst), (len)), dst)

Obscure comma operator, or we just add an inline memmove in systm.h too.


-- 
Regards,
Bryan Drewery

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 496 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-src-all/attachments/20170604/369d59c6/attachment.sig>


More information about the svn-src-all mailing list