[perl #42312] src/pmc/os.pmc: bad use of stat(2) and lstat(2)

Vasily Chekalkin via RT parrotbug-followup at parrotcode.org
Sat Apr 18 02:41:40 UTC 2009


On Thu Apr 05 07:50:05 2007, nahoo wrote:
> in src/pmc/os.pmc after retrieving the information of a file with stat
> or lstat
> all the fields are stored in an array of integers. However, the
> element st_rdev
> is a long int (linux and solaris at least). Then the statements like
> 
>            VTABLE_set_integer_keyed_int(interp, array, 6,
>                                          info.st_rdev);
> 

Currently Parrot's INTVAL is typedef for long. Can someone reproduce
initial failure on Solaris? (And close ticket if problem solved).

-- 
Bacek


More information about the parrot-dev mailing list