summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-aj
blob: b73b06daea18003fcb91208bf931e69d10a5e024 (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.2 1999/08/22 22:55:46 kim Exp $

--- data.h.orig	Tue Jun 23 10:57:44 1998
+++ data.h	Sun Aug 22 18:22:16 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;
     int32		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		*/