diff options
author | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 18:13:49 +0000 |
---|---|---|
committer | Adam Weinberger <adamw@FreeBSD.org> | 2014-07-28 18:13:49 +0000 |
commit | eab1b679e07aa9debd2c85efca6629cb71b32ec0 (patch) | |
tree | 331db9ae4336329d2bfe9a84fcde0aa8f9613134 /editors/bvi/files/patch-io.c | |
parent | Fix CANNA option. (diff) |
Rename editors/ patch-xy patches to reflect the files they modify.
Notes
Notes:
svn path=/head/; revision=363213
Diffstat (limited to 'editors/bvi/files/patch-io.c')
-rw-r--r-- | editors/bvi/files/patch-io.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/editors/bvi/files/patch-io.c b/editors/bvi/files/patch-io.c new file mode 100644 index 000000000000..2503c09c8149 --- /dev/null +++ b/editors/bvi/files/patch-io.c @@ -0,0 +1,11 @@ +--- 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"); |