summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-aj
blob: fac147564acc0a65bd1947dd064f74ec1e3d5277 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
$NetBSD: patch-aj,v 1.1 1999/07/26 21:19:28 tron Exp $

--- data.h.orig	Sun Aug 15 08:59:43 1993
+++ data.h	Mon Jul 26 23:11:38 1999
@@ -29,7 +29,7 @@
     char		db_lock[DB_LOCK_MESSAGE];
     time_t		db_created; /* when database was last built */
     time_t		last_scan; /* age of active file at last scan */
-    off_t		last_size; /* size of active file at last scan */
+    long                last_size; /* size of active file at last scan */
     group_number	number_of_groups;
     int			free_groups;
 } master_header;
@@ -68,8 +68,8 @@
     article_number	first_a_article; /* min article in active */
     article_number	last_a_article;  /* max article in active */
 
-    off_t		index_write_offset;
-    off_t		data_write_offset;
+    long                index_write_offset;
+    long                data_write_offset;
 
     time_t		creation_time; /* when group was created */
 
@@ -145,9 +145,9 @@
     group_header *a_group;	/* if merged article menu	*/
 
 				/* indexes to header line text	*/
-    off_t	hpos;		/* first byte of header		*/
-    off_t	fpos;		/* first byte in article text	*/
-    off_t	lpos;		/* last pos of article		*/
+    long        hpos;           /* first byte of header         */
+    long        fpos;           /* first byte in article text   */
+    long        lpos;           /* last pos of article          */
 
     time_stamp 	t_stamp;	/* encoded time_stamp		*/
     time_stamp 	root_t_stamp;	/* subject's time_stamp		*/