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

--- db.h.orig	2005-03-20 06:39:52.000000000 +0100
+++ db.h	2006-10-14 20:15:23.000000000 +0200
@@ -74,8 +74,8 @@
 
     time_stamp      dh_date;	/* encoded Date: filed (not a time_t value!!) */
 
-    off_t           dh_hpos;	/* absolute offset for first byte of header */
-    off_t           dh_lpos;	/* absolute offset for last byte of article */
+    long            dh_hpos;	/* absolute offset for first byte of header */
+    long            dh_lpos;	/* absolute offset for last byte of article */
     int16           dh_fpos;	/* relative offset for first byte in article
 				 * text */
 
@@ -125,7 +125,7 @@
 char           *db_data_path(char *, group_header *, char);
 FILE           *open_data_file(group_header *, char, int);
 void            db_write_group(register group_header *);
-off_t           db_read_art(FILE *);
+long            db_read_art(FILE *);
 long            get_index_offset(group_header *, article_number);
 int             db_read_offset(FILE *, long *);