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

OSF1 does not define CAM_DIR_BOTH #54

Open
roburban opened this issue Mar 27, 2020 · 1 comment
Open

OSF1 does not define CAM_DIR_BOTH #54

roburban opened this issue Mar 27, 2020 · 1 comment

Comments

@roburban
Copy link

Hello,
I cloned the repository yesterday and tried to compile on Tru64 UNIX 5.1B (OSF/1) and discovered that two functions in lib/sg_pt_osf1.c use the constant CAM_DIR_BOTH, which is unknown to OSF/1. I presume this was adopted from the FreeBSD version, "sg_pt_freebsd.c", as only FreeBSD and OSF/1 seem to support CAM, and FreeBSD apparently knows this constant.
You probably don't care, considering that Tru64 is comatose, if not entirely dead, but I thought I'd let you know.
Rob Urban

@doug-gilbert
Copy link
Contributor

Great to read that someone is still using Tru64. Nothing wrong with old, I also read that COBOL programmers are again in high demand. To fix this problem, I have conditionally defined CAM_DIR_BOTH to 0x0 if it is not present in sg_pt_osf1.c . Zero is the value it has in FreeBSD. Please contact me if that is incorrect for Tru64. The fix should appear in my svn rev 849.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants