mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-02 06:03:50 +00:00
7c084f620e
- 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)
48 lines
2.6 KiB
C
48 lines
2.6 KiB
C
--- S3/s3_disk.c.orig 2016-12-01 22:43:43 UTC
|
|
+++ S3/s3_disk.c
|
|
@@ -298,7 +298,7 @@ int32 dsk (int32 disk, int32 op, int32 m
|
|
addr++;
|
|
}
|
|
|
|
- if ((sect == 55) ) { /* HJS MODS */
|
|
+ if (sect == 55) { /* HJS MODS */
|
|
S = sect;
|
|
N = nsects - i - 2;
|
|
if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
|
|
@@ -349,7 +349,7 @@ int32 dsk (int32 disk, int32 op, int32 m
|
|
diskerr[disk] |= 0x0800;
|
|
break;
|
|
}
|
|
- if ((sect == 55) ) { /* HJS MODS */
|
|
+ if (sect == 55) { /* HJS MODS */
|
|
S = sect;
|
|
N = nsects - i - 2;
|
|
if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
|
|
@@ -392,7 +392,7 @@ int32 dsk (int32 disk, int32 op, int32 m
|
|
diskerr[disk] |= 0x0400;
|
|
break;
|
|
}
|
|
- if ((sect == 55) ) { /* HJS MODS */
|
|
+ if (sect == 55) { /* HJS MODS */
|
|
S = sect;
|
|
N = nsects - i - 2;
|
|
if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
|
|
@@ -434,7 +434,7 @@ int32 dsk (int32 disk, int32 op, int32 m
|
|
diskerr[disk] |= 0x0400;
|
|
break;
|
|
}
|
|
- if ((sect == 55) ) {
|
|
+ if (sect == 55) {
|
|
S = sect;
|
|
N = nsects - i - 2;
|
|
if (N > 0) diskerr[disk] |= 0x0020;
|
|
@@ -486,7 +486,7 @@ int32 dsk (int32 disk, int32 op, int32 m
|
|
found[disk] = 1;
|
|
if (res == data)
|
|
break;
|
|
- if ((sect == 55) ) { /* HJS MODS */
|
|
+ if (sect == 55) { /* HJS MODS */
|
|
S = sect;
|
|
N = nsects - i - 2;
|
|
if (N > -1) diskerr[disk] |= 0x0020; /* end of cyl. */
|