Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCaml 3 documentation bug? #2495

Closed
vicuna opened this issue Jun 16, 2000 · 1 comment
Closed

OCaml 3 documentation bug? #2495

vicuna opened this issue Jun 16, 2000 · 1 comment
Labels

Comments

@vicuna
Copy link

vicuna commented Jun 16, 2000

Original bug ID: 142
Reporter: administrator
Status: closed
Resolution: fixed
Priority: normal
Severity: minor
Category: ~DO NOT USE (was: OCaml general)

Bug description

The 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
@vicuna
Copy link
Author

vicuna commented Jun 17, 2000

Comment author: administrator

Fixed as proposed. -- Damien

@vicuna vicuna closed this as completed Jun 17, 2000
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant