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)
20 lines
1 KiB
C
20 lines
1 KiB
C
--- I7094/i7094_mt.c.orig 2016-12-01 22:43:42 UTC
|
|
+++ I7094/i7094_mt.c
|
|
@@ -564,7 +564,7 @@ switch (uptr->UST) {
|
|
bc = chrono_rd (xb, MT_MAXFR); /* read clock */
|
|
else { /* real tape */
|
|
r = sim_tape_rdrecf (uptr, xb, &bc, MT_MAXFR); /* read record */
|
|
- if (r = mt_map_err (uptr, r)) /* map status */
|
|
+ if ((r = mt_map_err (uptr, r))) /* map status */
|
|
return r;
|
|
if (mt_unit[ch] == 0) /* disconnected? */
|
|
return SCPE_OK;
|
|
@@ -736,7 +736,7 @@ if (mt_bptr[ch]) {
|
|
if (xb == NULL)
|
|
return SCPE_IERR;
|
|
r = sim_tape_wrrecf (uptr, xb, mt_bptr[ch]); /* write record */
|
|
- if (r = mt_map_err (uptr, r)) /* map error */
|
|
+ if ((r = mt_map_err (uptr, r))) /* map error */
|
|
return r;
|
|
}
|
|
uptr->UST = CHSL_WRS|CHSL_3RD; /* next state */
|