petdance/scratch — Issue #1216: OS PMC should use stat.pasm equivalent indices for stat buffer
Author: petdance
Created: 2011-11-01 05:39:36+00:00
State: open
Labels: bug, Pri-normal, Sev-medium

The stat dynop and OS.stat (dynpmc) use inconsistent indices.
OS.stat also does not provide symbolic constants to index into the returned array.

Either the array returned by OS.stat should be re-ordered, or the indices in stat.pasm should reflect the current ordering of the stat buffer as returned by OS.stat and the stat op should be modified.

Originally http://trac.parrot.org/parrot/ticket/1664