1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-26 00:55:14 +00:00
freebsd-ports/editors/bvi/files/patch-ab
Steve Price 811cad2ccc * Changes prompted by Christian Weisgerber <naddy@mips.rhein-neckar.de>:
* gmake not needed
  * link bview.1 -> bvi.1
  * patch io.c

PR:		15104
Submitted by:	maintainer
1999-11-27 01:06:06 +00:00

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");