On Mon, Jul 21, 2008 at 11:22:50AM +0200, Michael Mueller wrote:
> The following looks like a bug to me:

[ snip ]

> everything works as expected. Is this a known bug?

That looks like a bug. Please file it if you haven't already. It would be
interesting to see how offsetof() results differed in C and D.

> Another question: Is there a simple way of making dtrace read from 
> stdin? Having to use "dtrace -s /dev/fd/0" in the above script is a bit 
> unusual for a unix tool. Implementing something like "dtrace -s -" 
> should be easy I guess?

It's not much better, but we typically do 'dtrace -s /dev/stdin'.

- ahl

-- 
Adam Leventhal, Fishworks                     http://blogs.sun.com/ahl
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to