home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / sys / amiga / programm / 16028 < prev    next >
Encoding:
Internet Message Format  |  1992-11-18  |  1.2 KB

  1. Path: sparky!uunet!destroyer!gumby!wupost!sempco.UUCP!jfusco
  2. From: jfusco@sempco.UUCP (John Fusco)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Porting GNU SW with Lattice 5.10
  5. Message-ID: <jfusco.086x@sempco.UUCP>
  6. Date: 17 Nov 92 20:04:51 CST
  7. Organization: Sim's Electronic Musicians' Publishing Company
  8. Lines: 20
  9.  
  10. I was trying to port the GNU version of SED (1.12) with my Lattice compiler
  11. (don't ask me why - I thought it would be a learning experience).  I came
  12. across the following error:
  13. "Line buffer overflow"
  14.  
  15. Upon looking at the code I saw that the culprit was a huge macro - several
  16. lines of code run together with line continuation characters (\\).  I thought
  17. that I just needed to tweek some buffer size, so I tried the -z option of the
  18. "lc" command.  My documentation does not describe this option very well, so I
  19. assumed that the number following the -z should be decimal, representing the
  20. buffer size.  This seemed to go further in the code before crashing, but I got
  21. the same error.  After I increased the size above 4096, the LC command crashes
  22. my computer.  Even with a stack size of 100000 it still crashes.
  23.  
  24. Any ideas?  Thanks in advance...
  25.  
  26.  
  27. John Fusco
  28. Internet: sempco!jfusco@wupost.wustl.edu
  29. UUCP:     wupost.wustl.edu!sempco!jfusco
  30.