Operating System - HP-UX
1753427 Members
4915 Online
108793 Solutions
New Discussion

mtime ctime atime .... etc output.

 
SOLVED
Go to solution
jerry1
Super Advisor

Re: mtime ctime atime .... etc output.

This is what I needed but it seems to have a bug in it.

# demo2.sh
file name? core
-----------------------------------------
links (dev/ino): 1 (1073741829/25600)
perms: rw------- (oct=0600)
size (magic #): 222700 (0x0000)
owner: root (UID=0)
group: sys (GID=3)
Assertion failed: rb[sizeof rb - 1] == '\0', file fstat.c, line 373
last accessed: demo2.sh[31]: 14661 Abort(coredump)
file name?

jerry1
Super Advisor

Re: mtime ctime atime .... etc output.

I was able to get the fstat working by
commenting out the code on line 373 of fstat.c.

assert(rb[sizeof rb - 1] == '\0');

I don't know what it does but now fstat
seems to run okay.