Asdcattb.597 net.news.b utzoo!decvax!ucbvax!ucsfcgl!sdcarl!sdcattb!madden Thu Apr 15 00:55:32 1982 Expire failure on pdp11\'s In the 2.3 release of bnews, the file expire.c calls time() and cgtdate() without bothering to point out to the compiler that they return a value of type time_t (which is the same as long.) Since this causes the use of improper values during expiration date checks on a pdp11, expire fails to work as expected on such machines. Since param.h includes an appropriate external declaration for both routines, it appears that the problem can be fixed by including param.h at the front of expire.c. Jim Madden ----------------------------------------------------------------- gopher://quux.org/ conversion by John Goerzen of http://communication.ucsd.edu/A-News/ This Usenet Oldnews Archive article may be copied and distributed freely, provided: 1. There is no money collected for the text(s) of the articles. 2. The following notice remains appended to each copy: The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996 Bruce Jones, Henry Spencer, David Wiseman.