prasad writes:
> this->text = *(char *)copyin(self->bufp,self->size);
That line copies in the buffer, and then dereferences the first byte.
The contents of this->text is a single byte. That's probably not what
you want. I'd suggest:
this->text = (char *)copyin(self->bufp,self->size);
--
James Carlson, Solaris Networking <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive 71.232W Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757 42.496N Fax +1 781 442 1677
_______________________________________________
dtrace-discuss mailing list
[email protected]