GNU Emacs, memory usage, releasing

Mike Haertel mike at umn-cs.CS.UMN.EDU
Wed Jan 3 14:42:26 AEST 1990


A word of warning regarding replacing the hand coded gap move
with calls to memcpy():  memcpy() is not guaranteed to work
correctly for overlapping source and destination regions.

The proposed ANSI standard requires memmove() which does make
this guarantee.  

bcopy() on 4.3BSD vaxes will work correctly, but this is not
documented and may not work on other BSD derivatives.
-- 
Mike Haertel <mike at ai.mit.edu>
"Of course, we have to keep in mind that this year's Killer Micro
 is next year's Lawn Sprinkler Controller . . ." -- Eugene Brooks



More information about the Comp.unix.wizards mailing list