Bug 1879 - SINO_T needs another option for OpenVMS.
SINO_T needs another option for OpenVMS.
Product: Samba 3.0
Classification: Unclassified
Component: Config Files
Other OpenVMS
: P3 enhancement
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
Depends on:
  Show dependency treegraph
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.