Navigation Menu

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

os_type under mac os x #3212

Closed
vicuna opened this issue Feb 19, 2002 · 2 comments
Closed

os_type under mac os x #3212

vicuna opened this issue Feb 19, 2002 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Feb 19, 2002

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

Bug description

Full_Name: Trevor Jim
Version: 3.04
OS: mac os x
Submission from: h-135-207-35-163.research.att.com (135.207.35.163)

I've built ocaml 3.04 on mac os 10.1. I find that Sys.os_type is "Unix", not
"MacOS" as stated in the documentation.

@vicuna
Copy link
Author

vicuna commented Feb 27, 2002

Comment author: administrator

This is a documentation bug: Sys.os_type is supposed to return "Unix" on
all
variants of Unix, including MacOS X. It will return "MacOS" only on MacOS
9.

I've fixed the doc.

Thanks, that's what I figured. I had hoped to use os_type to find out if
the file system was case insensitive (true for OS X unlike most Unix) but
I guess that's not very dependable anyway.

-Trevor

@vicuna
Copy link
Author

vicuna commented Feb 27, 2002

Comment author: administrator

Full_Name: Trevor Jim
I've built ocaml 3.04 on mac os 10.1. I find that Sys.os_type is "Unix", not
"MacOS" as stated in the documentation.

This is a documentation bug: Sys.os_type is supposed to return "Unix" on all
variants of Unix, including MacOS X. It will return "MacOS" only on MacOS 9.

I've fixed the doc.

-- Damien

@vicuna vicuna closed this as completed Feb 27, 2002
@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