Bug 1879 - SINO_T needs another option for OpenVMS.
Summary: SINO_T needs another option for OpenVMS.
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Config Files (show other bugs)
Version: 3.0.7
Hardware: Other OpenVMS
: P3 enhancement
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
Depends on:
Reported: 2004-10-06 17:58 UTC by John Malmberg
Modified: 2010-04-26 03:44 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description John Malmberg 2004-10-06 17:58:06 UTC
Can a test to see if the SINO_T macro is already defined be wrapped around the
two definitions of the macro in include/includes.h?

OpenVMS has two different ino_t types, a 48 bit version for OpenVMS VAX and a 64
bit version for OpenVMS 8.2 and later on Alpha and Itanium.

By checking to see if the macro is already defined, the 48 bit version of the
SINO_T for OpenVMS can be defined in the config.h file.


#ifndef SINO_T
#define SINO_T(p, ofs, v) (SIVAL(p,ofs,(v)&0xFFFFFFFF), SIVAL(p,(ofs)+4,(v)>>32
#define SINO_T(p, ofs, v) (SIVAL(p,ofs,v),SIVAL(p,(ofs)+4,0))
Comment 1 Stefan Metzmacher 2010-04-26 03:44:07 UTC
If it's still broken in 3.5, please reopen.
3.0 isn't supported anymore.