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