home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / os / linux / 20731 < prev    next >
Encoding:
Text File  |  1992-12-16  |  1.4 KB  |  32 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!spool.mu.edu!umn.edu!csus.edu!csusac!citrus!ianj
  3. From: ianj@citrus.SAC.CA.US ( Ian Justman )
  4. Subject: Re: uucp and seg fault in write()
  5. References: <2b2bc1b5wnr070@ark.abg.sub.org>
  6. Organization: Citrus Grove Public Access ( 916 ) 381-5822    Sacramento CA.  USA
  7. Date: Wed, 16 Dec 1992 01:55:24 GMT
  8. X-Newsreader: Tin 1.1 PL4
  9. Message-ID: <BzBxCE.3CA@citrus.SAC.CA.US>
  10. Lines: 20
  11.  
  12. ralf@ark.abg.sub.org (Ralf Stephan) writes:
  13. : Although Taylor UUCP 1.04gamma compiles fine, there is the same problem
  14. : of seg faults in write() as others have said with 1.03 and 0.98pl5.
  15. : No ideas?
  16.  
  17. If you are using the "-fwritable-strings" switch, and you are still getting
  18. segmentation faults, you need to look in the configuration file (not fam-
  19. iliar with 1.04, but I know 1.03 only too well  :-) ) and look for something
  20. like "HAVE_SIGACTION".  These #defines tell the comipler how UUCP should han-
  21. dle signals.  You need to say no to all of the defines, at which point the
  22. code will assume that you want signal() instead of sigaction(), sigvec(),
  23. or sigset().  From what Linus has told me, however, if you get version 4.2
  24. of the shared libraries, your segmentation faults due to sigaction()
  25. should go away.  I have yet to try this so I have to bug my sysadmin (he's
  26. the one with FTP access, not me  :-( ; BTW, Joel, HINT, HINT!!!!!) into
  27. FTPing the latest shared libraries.
  28.  
  29. -- 
  30. Born to void warranties!    ianj@ijpc.UUCP
  31.