1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/misc/deco/files/patch-af
Ruslan Ermilov ed099f0af7 Allow to view large files with 2^31-1 (on i386) lines.
Submitted by:	Ivan Pascal <pascal@info.tsu.ru>
2003-11-18 15:32:40 +00:00

21 lines
787 B
Plaintext

--- rec.h.orig Fri Jul 11 22:01:27 1997
+++ rec.h Tue Nov 18 16:58:49 2003
@@ -15,7 +15,7 @@
struct map { /* pool cell descriptor */
short busy; /* cell busy */
- short index; /* index in lindex */
+ int index; /* index in lindex */
long time; /* time of last access */
};
@@ -37,7 +37,7 @@
short fd; /* file descriptor */
short bakfd; /* bak file descriptor */
short tfd; /* temp file descriptor */
- short len; /* length of file in lines */
+ int len; /* length of file in lines */
short broken; /* there are broken lines */
} REC;