home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / linux / 17592 < prev    next >
Encoding:
Text File  |  1992-11-22  |  1.4 KB  |  36 lines

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