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

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!unislc!erc
  3. From: erc@unislc.uucp (Ed Carp)
  4. Subject: Re: SLS Mail/News?
  5. X-Newsreader: TIN [version 1.1 PL6]
  6. References: <722494613snx@grendel.demon.co.uk>
  7. Message-ID: <1992Nov23.095133.13016@unislc.uucp>
  8. Organization: Unisys Corporation SLC
  9. Date: Mon, 23 Nov 1992 09:51:33 GMT
  10. Lines: 45
  11.  
  12. Jim Segrave (jes@grendel.demon.co.uk) wrote:
  13.  
  14. : In article <1992Nov22.150653.1148@sol.UVic.CA> you write:
  15. :  
  16. : > Also, anyone using .98p5 will need to remove the seg fault upon code
  17. : > writes in order to use mail.  I tried finding the place in mail where
  18. : > this happens, but if I run it from "gdb" it doesn't happen :-<.
  19. : grep for mktemp in the sources. Find the string which is the first
  20. : parameter 'lettmp' is one such. Find the definition of this parameter and
  21. : if its of the form char *lettmp = "...", change it to char lettmp[] = "...",
  22. : Then go find any extern's referencing the variable in any other files and
  23. : make sure they are declaring them as extern char lettmp[]; (or whatever),
  24. : not extern char *lettmp;
  25. : Fix resolve() in sendrmt.c. If it doesn't find the usr/libs/pathalias
  26. : file (or some such), resolve drops off the end of the function without
  27. : returning a valid pointer (it should be NULL).
  28. : The code for mail is an atrocious - a good sample of why C has a bad
  29. : name in the rest of the programming world.
  30.  
  31. Better yet, don't use it at all.  the mail included with mailpak-1.3 was
  32. intended to be a provisional measure until a better solution could be
  33. found.  Get smail-3.1.28 - it's a much better mailer.
  34.  
  35. mail will *not* be included in mailpak-1.4, BTW...I've stopped using it
  36. long ago.
  37.  
  38.  
  39. I don't agree with your assertion that C has a "bad name in the rest of the
  40. programming world".  Is your programming world composed of programmers
  41. writing COBOL applications?  C gives one the ability, the freedom, to write
  42. any manner of code desired.  If one wants to write beautiful code, the
  43. opportunity is there.  If one wants to write ugly code, C will not stop you.
  44. --
  45. Ed Carp            erc@apple.com, erc@saturn.upl.com    801/538-0177
  46.  
  47. "There is nothing to seek and nothing to find.  You're already enlightened, and
  48. all the words in the world won't give you what you already have.  The wise
  49. seeker, therefore, is concerned with one thing only: to become aware of what
  50. he already is, of the True Self within."  -- Zen maxim
  51. -- 
  52. Ed Carp            erc@apple.com, erc@saturn.upl.com    801/538-0177
  53.  
  54. "There is nothing to seek and nothing to find.  You're already enlightened, and
  55. all the words in the world won't give you what you already have.  The wise
  56.