home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / unix / programm / 4030 < prev    next >
Encoding:
Text File  |  1992-07-30  |  2.0 KB  |  47 lines

  1. Newsgroups: comp.unix.programmer
  2. Path: sparky!uunet!psgrain!ee.und.ac.za!ucthpx!aim1!aim1!gram
  3. From: gram@aim1.aztec.co.za (Graham Wheeler)
  4. Subject: Re: STREAMS help desperately needed
  5. Message-ID: <gram.712573863@aim1>
  6. Organization: Aztec Information Management
  7. References: <gram.712407467@aim1> <2559@nlsun1.oracle.nl>
  8. Date: Fri, 31 Jul 1992 09:11:03 GMT
  9. Lines: 36
  10.  
  11. jhelberg@nl.oracle.com (Joost Helberg) writes:
  12.  
  13. >:             tp = (struct termio *)mp->b_cont->b_datap;
  14. >BANG, b_datap points to the datab structure, not the data which
  15. >may contain the termio data!
  16. >:             tp->c_iflag = PAD->terminfo.c_iflag;
  17. >destroying the structure in b_datap
  18.  
  19. >after some time the streams layers free up this message and they get
  20. >confused finding flags in the datab --> crash.
  21.  
  22. Correct. What is quite interesting was that when I put B9600|CS8 in as the
  23. c_lflag value, and made the others zero, it never crashed (even after a couple
  24. of hours of continual driver activity). When I made everything zero it did.
  25.  
  26. I knew I should have taken a holiday and come back to this problem; I had been
  27. staring at it so long in dismay I probably wouldn't have found the bug if it
  28. tapdanced in front of me. I will shut up now. Thanks folks, you have not only
  29. solved my problem, you have lifted me out of a bad depression (just in time
  30. for the weekend!) Long live the net!
  31.  
  32. A very mollified but much more cheerful Graham
  33.  
  34.  
  35. >--
  36. >   Joost Helberg                                Rijnzathe 6
  37. >   jhelberg@oracle.nl                           NL-3454 PV De Meern
  38. >   jhelberg@nl.oracle.com                       The Netherlands
  39.  
  40. >   Oracle Europe BV                             Product Line Development    
  41. >   Phone: +31 3406 94211                        Fax:   +31 3406 65609
  42. -- 
  43. Graham Wheeler                     | "That which is weak conquers the strong,
  44. Software Systems Engineer/Student  | that which is soft conquers the hard."
  45. Aztec Information Management/UCT   |         Lao Tzu - Tao Te Ching Ch. 78
  46. gram@aim1.aztec.co.za / gram@cs.uct.ac.za 
  47.