#: 6133 S3/Languages
14-Aug-90 20:05:40
Sb: #6122-_gs_opt
Fm: Dan Charrois 70721,1506
To: Pete Lyall 76703,4230 (X)
Thanks for your reply, Pete. I can't believe I made such a mistake in dealing
with the pointers. What you and Kev said made a lot of senseactually, it is
probably similar to advice I would have given if someone asked me the same
question. It's amazing how one overlooks things from time to time.
The code fragment I posted was what I had hoped the core of a bug I've found
in my program. Evidently, this wasn't the bug, but rather I introduced the bug
in the fragment. So, I guess I'm still going to have to debug some more.
Thanks a lot for your help. (And, just for the record, I think struct sgbuf
buf1,buf2 makes more sense than the other method you mentioned. Glad to hear
that that is the proper way! :-)
Dan
|