summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-av
blob: 93357724bbc85bf4e028b813ab58819fef88dd70 (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
$NetBSD: patch-av,v 1.2 2006/10/14 19:33:45 schwarz Exp $

--- news.h.orig	2003-11-03 10:36:23.000000000 +0100
+++ news.h	2006-10-14 20:32:23.000000000 +0200
@@ -14,8 +14,8 @@
 #define N_DIGEST 1		/* article is part of a digest */
 #define N_MODERATED 2		/* group is moderated		 */
 
-    off_t           ng_fpos;	/* position of article text	 */
-    off_t           ng_lpos;	/* last text offset		 */
+    long            ng_fpos;	/* position of article text	 */
+    long            ng_lpos;	/* last text offset		 */
     /* header lines:		 */
     char           *ng_from;	/* from			 */
     char           *ng_name;	/* senders name		 */
@@ -52,9 +52,9 @@
  */
 
 struct digest_header {
-    off_t           dg_hpos;	/* position of article header	 */
-    off_t           dg_fpos;	/* position of article text	 */
-    off_t           dg_lpos;	/* last text position		 */
+    long            dg_hpos;	/* position of article header	 */
+    long            dg_fpos;	/* position of article text	 */
+    long            dg_lpos;	/* last text position		 */
     /* header lines:		 */
     char           *dg_date;	/* date			 */
     char           *dg_from;	/* from			 */