libutil:
- 211298:
- activutil: if the first article of a newsgroup is 0, it is set to 1.
The last article is set to 1 if it is smaller than the first one.
This will fix problems with Netscape which barfs if encountering
zero article numbers. Reported by Peter Katzmann
<peter@katzmann.fd.shuttle.de>.
- 211298:
- filterutil: forgot to #include <syslog.h>. Fixed.
- 191298:
- filterutil: glibc2-based distributions (RedHat 5.2, Debian 2.0)
demand that <sys/types.h> be included before <regex.h>.
Bug reported and fixed by Trever Adams <highlander@teleteam.net>.
checkgroups:
- 211298:
- removed an unnecessary #include <syslog.h>
fetch:
- 020199:
- fetch could crash if an "article x already stored" message was logged.
The reason was that an old or uninitialized filehandle was being
checked. Bug reported and fixed by Joe Hutchinson
<joeh@netspace.net.au>
- 020199: age() did not calculate proper ages when the year was changing.
Fixed. (Bug was already present in 1.4 and had been reported for
1.8 by Jose Rosales <jrosales@tdv.net> and Stefan Luetkebrune
<s.luetkebrune@ndh.net>)
- 211298:
- fixed a typo in main()
nntpd:
- 231298:
- some changes in doxhdr()
- 231298:
- some changes in dolistgroup() to deal properly with empty
newsgroups
- 211298:
- changed doxover() and doxhdr() to account for empty directories
- 211298:
- removed lots of unnecessary "\r\n" from syslogs
- 191298:
- if access time change of files in interesting.groups failed,
error message was garbled (reported by Harald Kretzschmar
<hk@thuer.slf.uunet.de>). Fixed.
Miscellaneous:
- 020199: added a patch for NetBSD to leafnode.h (provided by Anders Dinsen,
<dinsen@danbbs.dk>)
libutil:
- 131298:
- filterutil: filtering seems to work now, but it is fairly slow. I
wrote a little program to remove all the spam from
alt.religion.scientology .
- 131298:
- activutil: in readactive(), the last article is now set to at least
1 (was 0). Age is set to 0 (was 1).
- 131298:
- activutil: added isinteresting() from fetch.c
- 131298:
- artutil: new file. Received buildpseudoart() from miscutil,
store() from fetch.c and new function getheaders().
- 131298:
- "create_all_links = no" is now the default and cannot be switched
off. As mentioned by Arnt Gulbrandsen, this invites problems if new
newsgroups are subscribed to because the Xref: lines are not
properly modified. We'll look into this later :-)
- 131298:
- activutil: messed around with insertgroup() to remove segfaults
(apparently successfully).
- 121298:
- removed declaration of errno and h_errno from various files
- 121298:
- filterutil: new (at the moment empty)
- 101298:
- miscutil: chdirgroup() now returns 1 if successful, 0 if not.
fetch:
- 171298:
- crosspostlimit was not honoured anymore (in getgroup()). Fixed.
- 141298:
- removed some logging from getgroup()
- 141298:
- intelligently enough, I made a bug when building in filtering
support which would result in only the last header being filtered
on. Fixed.
- 131298:
- replaced all occurences of snprintf() with sprintf() to make
leafnode compile on OSF1
- 131298:
- managed to build filtering support into fetch
- 131298:
- postarticles() does not close connections any more.
- 131298:
- fetch now only posts an article to a server if the server has this
group. Many servers kill a connection if they get a posting which
they cannot process.
- 131298:
- moved store() to artutil.c and isinteresting() to activutil.c
- 121298:
- fetch would run into problems when a newsgroup name was completely
contained in another newsgroup name *and* the order in the
/var/spool/news/leaf.node/server.name file was such that the
longer name came first. Bug reported and tracked down by
Kent B. Hansen <kent.hansen@bigfoot.com>. Fixed (hopefully).
nntpd:
- 141298:
- dopost() would delete empty lines from postings (apparently
introduced yesterday). Fixed.
- 131298:
- replaced all occurences of snprintf() with sprintf() to make
leafnode compile on OSF1
- 131298:
- first attempt to implement local groups failed because getxover()
would remove the articles which were constructed
- 121298:
- markinterest(): open() with APPEND flag would not change the mtime,
therefore we now change the mtime by calling utime() and only
call fopen() when utime fails with ENOENT (problems were reported
by various people, among them Trever Adams
<highlander@teleteam.net>).
- 121298:
- rewrote doxhdr(); deals now properly with new newsgroups
- 121298:
- rewrote dolistgroup()
- 101298:
- introduced a new global variable "pseudogroup" which is TRUE if
the current newsgroup is a newly created one (i.e. without
spool directory and .overview file), FALSE otherwise. This variable
is set by dogroup() and dolistgroup().
- 101298:
- in dogroup() and dolistgroup(), whether a group is "pseudo" is now
determined by checking whether its directory exists or not.
texpire:
- 121298:
- added a "\n" to one log message (reported and fixed by Michael
Schwendt, <sidplay@geocities.com>).
Miscellaneous:
- 171298:
- fixed a typo in INSTALL (discovered by Michael Dreher,
<micha@planet-interkom.de>)
- 141298:
- added some rudimentary documentation about the filtering to
INSTALL
- 131298:
- Makefile: added libs for Suns
- 131298:
- leafnode.h: messed around to compile leafnode on Suns and HP-UX
- 121298:
- leafnode.h: #include <time.h> (for time_t)
- 121298:
- removed the creation of libutil.a from the Makefile. The various
object files are now individually linked together. This avoids
calling "ar" and possibly "ranlib" which may be not installed on
other systems. Suggested by Anders Dinsen <dinsen@danbbs.dk>
who compiled leafnode-1.7.1 on NetBSD 1.3.2
|