source: trunk/dports/editors/bvi/files/patch-io.c @ 21478

Last change on this file since 21478 was 21478, checked in by eridius@…, 13 years ago

Massive update to svn properties on files:
All patchfiles have svn:eol-style removed.
All files that are not in fact able to be executed have svn:executable removed
All binary files have svn:eol-style removed (and are probably corrupt)
All binary files have svn:mime-type set to application/octet-stream
All files which are not patchfiles or binary files have svn:eol-style set to native
All Portfiles have svn:eol-style set to native and svn:executable removed

File size: 330 bytes
Line 
1--- io.c.orig   Mon Jan  6 04:31:45 2003
2+++ io.c        Mon Jan  6 04:32:23 2003
3@@ -158,7 +158,7 @@
4                                filemode = ERROR;
5                        }
6                } else if (S_ISREG(buf.st_mode)) {
7-                       if ((unsigned long)buf.st_size > (unsigned long)SIZE_T_MAX) {
8+                       if (buf.st_size > SIZE_T_MAX) {
9                                move(maxy, 0);
10                                endwin();
11                                printf("File too large\n");
Note: See TracBrowser for help on using the repository browser.