linux-origin
[Top] [All Lists]

memmove issues

To: linux-origin@xxxxxxxxxxx
Subject: memmove issues
From: Rajagopal Ananthanarayanan <ananth@xxxxxxx>
Date: Tue, 05 Dec 2000 16:13:28 -0800
Sender: owner-linux-origin@xxxxxxxxxxx
In porting XFS to mips64 I ran into a problem
where if memmove is called with zero length,
the code gets into a bogus loop. Ideally,
memmove with zero length should be a no-op ...
Is it possible to fix this in MIPS64 so we
don't have to work-around this problem in XFS?

Also, memset & memcpy should also behave similarly ---
if called with zero length then it should be a no-op.

thanks,

-- 
--------------------------------------------------------------------------
Rajagopal Ananthanarayanan ("ananth")
Member Technical Staff, SGI.
--------------------------------------------------------------------------

<Prev in Thread] Current Thread [Next in Thread>