🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.editors
Article #3676

Re: GNU Emacs, memory usage, releasing

#3676
From: Mike Haertel
Date: Wed, 03 Jan 1990 03:42
13 lines
1048 bytes
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@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
Technical Details
Message-ID: <18005@umn-cs.CS.UMN.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!umn-d-ub!umn-cs!mike
References: <1561@aber-cs.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!uwm.edu!uwvax!umn-d-ub!umn-cs!mike
From: mike@umn-cs.CS.UMN.EDU (Mike Haertel)
Newsgroups: comp.editors,comp.unix.wizards
Subject: Re: GNU Emacs, memory usage, releasing
Keywords: GNU emacs malloc memory working set gap editor
Message-ID: <18005@umn-cs.CS.UMN.EDU>
Date: 3 Jan 90 03:42:26 GMT
References: <1561@aber-cs.UUCP>
Reply-To: mike@umn-cs.cs.umn.edu (Mike Haertel)
Organization: Free Software Foundation
Lines: 13