B. K. Oxley (binkley)
4/27/2005 4:23:00 PM
B. K. Oxley (binkley) wrote:
> What, then, is the purpose of the nd_line field? I do not find access
> of the field in the sources.
>
> $ find . -type f | xargs grep '\.nd_line'
> $ find . -type f | xargs grep -- '->nd_line'
I see now. In the 1.8.2 sources, "int node_line" is still int he
definition of struct RNode; but when I grab the stable-snapshot tarball,
it is gone. I suppose it wasn't refactored away for the 1.8.2 build
although it wasn't used.
I suppose what I can do is replace the unused int (which could be
64-bits in an ILP model) with one for byte position and leave the
bit-fiddling alone for the fd_line macros. (Technically, the type
should be what ever the seek call uses on a given platform; one thing at
a time.)
Cheers,
--binkley