summaryrefslogtreecommitdiff
path: root/news/nn/patches/patch-aj
diff options
context:
space:
mode:
Diffstat (limited to 'news/nn/patches/patch-aj')
-rw-r--r--news/nn/patches/patch-aj37
1 files changed, 37 insertions, 0 deletions
diff --git a/news/nn/patches/patch-aj b/news/nn/patches/patch-aj
new file mode 100644
index 00000000000..fac147564ac
--- /dev/null
+++ b/news/nn/patches/patch-aj
@@ -0,0 +1,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 */