mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 09:36:41 -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
607 B
C
20 lines
607 B
C
--- PDP10/pdp10_ksio.c.orig 2016-12-01 22:43:42 UTC
|
|
+++ PDP10/pdp10_ksio.c
|
|
@@ -401,7 +401,7 @@ uint32 pa = (uint32) ea;
|
|
int32 i, n, val;
|
|
DIB *dibp;
|
|
|
|
-for (i = 0; dibp = dib_tab[i]; i++ ) {
|
|
+for (i = 0; (dibp = dib_tab[i]); i++ ) {
|
|
if ((pa >= dibp->ba) &&
|
|
(pa < (dibp->ba + dibp->lnt))) {
|
|
dibp->rd (&val, pa, READ);
|
|
@@ -418,7 +418,7 @@ uint32 pa = (uint32) ea;
|
|
int32 i, n;
|
|
DIB *dibp;
|
|
|
|
-for (i = 0; dibp = dib_tab[i]; i++ ) {
|
|
+for (i = 0; (dibp = dib_tab[i]); i++ ) {
|
|
if ((pa >= dibp->ba) &&
|
|
(pa < (dibp->ba + dibp->lnt))) {
|
|
dibp->wr ((int32) val, pa, mode);
|