Path: utzoo!mnetor!uunet!lll-winken!lll-lcc!ames!husc6!ut-sally!ico!dougm From: dougm@ico.UUCP (Doug McCallum) Newsgroups: comp.emacs Subject: Re: GNU under 5.3 Message-ID: <2381@ico.UUCP> Date: 30 Dec 87 23:01:41 GMT References: <228@banyan.UUCP> Reply-To: dougm@ico.UUCP (Doug McCallum) Organization: Interactive Systems Corp., Boulder CO Lines: 20 In article <228@banyan.UUCP> tim@banyan.UUCP (Tim Henrion) writes: >I am trying to port GNU Emacs 18.49 to a Compaq 386 running Unix 5.3. ... >resulting 'xemacs' image was 4.5 MEGABYTES LONG! Needless to say, You have to define NO_REMAP. 5.3 is using regions aligned on 4Mb boundaries. If you try to remap, you will get the result you are seeing. There are a couple of other places you are going to get hit with. If you aren't converting to using the the 5.3 opendir/closedir, etc. you won't have the problem, but then you can't access other file systems that might be defined in the file system switch. If you convert, there is a bad interaction between the GNU malloc routines and the closedir call. The symptom is running out of file descriptors. The fix is to make a version of closedir that closes the file descriptor before calling free. Doug McCallum Interactive Systems dougm@ico.isc.com