🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.emacs.vms
Article #26

VMSFNS does not compile under VAXC030

#26
From: Marty Sasaki LTN1-1/D07 dtn:226-...
Date: Wed, 19 Jul 1989 12:28
67 lines
2741 bytes
The problem is that with VAXC v3 the way that 'V' constants were
declared has changed. Prior to v3 the V constants were integer
constants that were the number of bits to shift left a 1. From v3 on,
the V constants are a non-standard bit field declaration.
 
	bits = (1 << foo$v_bar);	/* prior to v3 */
	bits.foo$v_bar = 1;		/* v3 and later */
 
The solution that I chose was to create the old definitions and
include them into VMSFNS. The better solution would be to change the
code to use the new declarations.
 
I didn't post this in the past because I ran into this problem a long
time ago during the field test of VAXC v3 and didn't remember when v3
was released.
 
Anyway, place the code after the "cut here" line somewhere in
VMSFNS.c. Please note that the code is distributed with no warrantee,
etc. 
--
Marty Sasaki				sasaki@hydra.dec.com
Digital Equipment Corporation		508-486-6011
LTN1-1/D07
295 Foster Street
Littleton, MA 01460-1123
--------------------------------cut here--------------------------------
#define PRV$V_ACNT	0x09
#define PRV$V_ALLSPOOL  0x04
#define PRV$V_ALTPRI	0x0D
#define PRV$V_BUGCHK    0x17
#define PRV$V_BYPASS    0x1D
#define PRV$V_CMEXEC    0x01
#define PRV$V_CMKRNL    0x00
#define PRV$V_DETACH    0x05
#define PRV$V_DIAGNOSE  0x06
#define PRV$V_DOWNGRADE 0x21
#define PRV$V_EXQUOTA   0x13
#define PRV$V_GROUP     0x08
#define PRV$V_GRPNAM    0x03
#define PRV$V_GRPPRV 	0x22
#define PRV$V_LOG_IO    0x07
#define PRV$V_MOUNT     0x11
#define PRV$V_NETMBX    0x14
#define PRV$V_NOACNT    0x09
#define PRV$V_OPER      0x12
#define PRV$V_PFNMAP    0x1A
#define PRV$V_PHY_IO    0x16
#define PRV$V_PRMCEB    0x0A
#define PRV$V_PRMGBL    0x18
#define PRV$V_PRMJNL 	0x25
#define PRV$V_PRMMBX    0x0B
#define PRV$V_PSWAPM    0x0C
#define PRV$V_READALL 	0x23
#define PRV$V_SECURITY 	0x26
#define PRV$V_SETPRI    0x0D
#define PRV$V_SETPRV    0x0E
#define PRV$V_SHARE 	0x1F
#define PRV$V_SHMEM     0x1B
#define PRV$V_SYSGBL    0x19
#define PRV$V_SYSLCK	0x1E
#define PRV$V_SYSNAM    0x02
#define PRV$V_SYSPRV    0x1C
#define PRV$V_TMPJNL 	0x24
#define PRV$V_TMPMBX    0x0F
#define PRV$V_UPGRADE 	0x20
#define PRV$V_VOLPRO    0x15
#define PRV$V_WORLD     0x10
Technical Details
Message-ID: <8907191228.AA11131@decwrl.dec.com>
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!watmath!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!shigeo.enet.dec.com!sasaki

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!yunexus!telly!attcan!utgpu!watmath!uunet!cs.utexas.edu!tut.cis.ohio-state.edu!shigeo.enet.dec.com!sasaki
From: sasaki@shigeo.enet.dec.com (Marty Sasaki LTN1-1/D07 dtn:226-6011)
Newsgroups: gnu.emacs.vms
Subject: VMSFNS does not compile under VAXC030
Message-ID: <8907191228.AA11131@decwrl.dec.com>
Date: 19 Jul 89 12:28:00 GMT
Article-I.D.: decwrl.8907191228.AA11131
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 67