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.
--------------------------------------------------------------------------
|