mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -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)
11 lines
641 B
C
11 lines
641 B
C
--- PDP11/pdp11_cpu.c.orig 2016-12-01 22:43:42 UTC
|
|
+++ PDP11/pdp11_cpu.c
|
|
@@ -732,7 +732,7 @@ while (reason == 0) {
|
|
|
|
if (trap_req) { /* check traps, ints */
|
|
trapea = 0; /* assume srch fails */
|
|
- if (t = trap_req & TRAP_ALL) { /* if a trap */
|
|
+ if ((t = trap_req & TRAP_ALL)) { /* if a trap */
|
|
for (trapnum = 0; trapnum < TRAP_V_MAX; trapnum++) {
|
|
if ((t >> trapnum) & 1) { /* trap set? */
|
|
trapea = trap_vec[trapnum]; /* get vec, clr */
|