mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
- fix build failures in i386 and amd64 due to compiler changes - fix numerous compilation warnings and logical errors that may trap in the future - convert all distribution files from DOS format to ease future changes - convert legacy patch file to new naming convention PR: 214990 Submitted by: bob@eager.cx (maintainer)
20 lines
925 B
C
20 lines
925 B
C
--- VAX/vax_cpu.c.orig 2016-12-01 22:43:43 UTC
|
|
+++ VAX/vax_cpu.c
|
|
@@ -642,7 +642,7 @@ for ( ;; ) {
|
|
*/
|
|
|
|
if (trpirq) { /* trap or interrupt? */
|
|
- if (temp = GET_TRAP (trpirq)) { /* trap? */
|
|
+ if ((temp = GET_TRAP (trpirq))) { /* trap? */
|
|
cc = intexc (SCB_ARITH, cc, 0, IE_EXC); /* take, clear trap */
|
|
GET_CUR; /* set cur mode */
|
|
in_ie = 1;
|
|
@@ -650,7 +650,7 @@ for ( ;; ) {
|
|
SP = SP - 4;
|
|
in_ie = 0;
|
|
}
|
|
- else if (temp = GET_IRQL (trpirq)) { /* interrupt? */
|
|
+ else if ((temp = GET_IRQL (trpirq))) { /* interrupt? */
|
|
int32 vec;
|
|
if (temp == IPL_HLTPIN) { /* console halt? */
|
|
hlt_pin = 0; /* clear intr */
|