php4 updated to 4.4.1 - critical security update, all 4.[34] users
[pkgsrcv2.git] / news / nn / patches / patch-ab
1 $NetBSD$
2
3 --- account.c.orig      Fri Jul  3 17:02:18 1998
4 +++ account.c   Sun Aug 22 18:20:40 1999
5 @@ -25,7 +25,7 @@
6  extern int errno;
7  
8  struct account {
9 -    off_t ac_offset;   /* offset in acct file */
10 +    long ac_offset;    /* offset in acct file */
11      int ac_found;      /* present in acct file */
12      
13      char ac_user[24];  /* user name */
14 @@ -204,7 +204,7 @@
15      if (ac->ac_found)
16         fseek(acctf, ac->ac_offset, 0);
17      else
18 -       fseek(acctf, (off_t)0, 2);
19 +       fseek(acctf, (long)0, 2);
20      
21      fprintf(acctf, OUTPUT_FMT, 
22             ac->ac_user, ac->ac_total, ac->ac_last,