mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-26 00:55:14 +00:00
811cad2ccc
* gmake not needed * link bview.1 -> bvi.1 * patch io.c PR: 15104 Submitted by: maintainer
12 lines
369 B
Plaintext
12 lines
369 B
Plaintext
--- io.c.orig Tue Nov 2 04:44:10 1999
|
|
+++ io.c Fri Nov 26 18:06:58 1999
|
|
@@ -119,7 +119,7 @@
|
|
} else if (S_ISBLK(buf.st_mode)) {
|
|
filemode = BLOCK_SPECIAL;
|
|
} else if (S_ISREG(buf.st_mode)) {
|
|
- if ((unsigned long)buf.st_size > (unsigned long)SIZE_T_MAX) {
|
|
+ if (buf.st_size > SIZE_T_MAX) {
|
|
move(maxy, 0);
|
|
endwin();
|
|
printf("File too large\n");
|