Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000142OCamlOCaml generalpublic2000-06-16 23:312000-06-17 16:12
Reporteradministrator 
Assigned To 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000142: OCaml 3 documentation bug?
DescriptionThe documentation for the stats data structure looks like this:

  type stats =
    { st_dev : int; (* Device number *)
      st_ino : int; (* Inode number *)
      st_kind : file_kind; (* Kind of the file *)
      st_perm : file_perm; (* Access rights *)
      st_nlink : int; (* Number of links *)
      st_uid : int; (* User id of the owner *)
      st_gid : int; (* Group id of the owner *)
      st_rdev : int; (* Device minor number *)
      st_size : int; (* Size in bytes *)
      st_atime : float; (* Last access time *)
      st_mtime : float; (* Last modification time *)
      st_ctime : float } (* Last status change time *)

But the solaris fstat documentation says that the st_gid field should
be the id of the file's *group*, which is not quite what this says (at
least, different enough that I was confused -- this wording implies an
extra indirection). Might be better to use the wording of the fstat
manpage:

     gid_t st_gid; /* Group ID of the file's group */

       -- B
       
       

TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0000408)
administrator (administrator)
2000-06-17 16:12

Fixed as proposed. -- Damien

- Issue History
Date Modified Username Field Change
2005-11-18 10:13 administrator New Issue


Copyright © 2000 - 2011 MantisBT Group
Powered by Mantis Bugtracker