home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.linux
- From: jes@grendel.demon.co.uk (Jim Segrave)
- Path: sparky!uunet!pipex!demon!grendel.demon.co.uk!jes
- Subject: Re: SLS Mail/News?
- Reply-To: jes@grendel.demon.co.uk
- Distribution: world
- X-Mailer: cppnews $Revision: 1.20 $
- Organization: None
- Lines: 22
- Date: Sun, 22 Nov 1992 21:56:53 +0000
- Message-ID: <722494613snx@grendel.demon.co.uk>
- Sender: usenet@gate.demon.co.uk
-
-
- In article <1992Nov22.150653.1148@sol.UVic.CA> you write:
-
- > Also, anyone using .98p5 will need to remove the seg fault upon code
- > writes in order to use mail. I tried finding the place in mail where
- > this happens, but if I run it from "gdb" it doesn't happen :-<.
-
- grep for mktemp in the sources. Find the string which is the first
- parameter 'lettmp' is one such. Find the definition of this parameter and
- if its of the form char *lettmp = "...", change it to char lettmp[] = "...",
- Then go find any extern's referencing the variable in any other files and
- make sure they are declaring them as extern char lettmp[]; (or whatever),
- not extern char *lettmp;
- Fix resolve() in sendrmt.c. If it doesn't find the usr/libs/pathalias
- file (or some such), resolve drops off the end of the function without
- returning a valid pointer (it should be NULL).
- The code for mail is an atrocious - a good sample of why C has a bad
- name in the rest of the programming world.
-
- --
- Jim Segrave (Segrave Software Services) jes@grendel.demon.co.uk
-
-