5215c15086
are various bug fixes and code cleanups.
24 lines
1 KiB
Text
24 lines
1 KiB
Text
$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 *);
|
|
|