🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #71781

Re: [slrn] Article sorting doesn't work properly after upgrade to 0.9.6.3

#71781
From: Thomas Schultz
Date: Sat, 10 Feb 2001 18:47
40 lines
2536 bytes
On 10 February 2001 at 00:28 GMT, Marcus Houlden <spam@nukesoft.co.uk> wrote:
[...]
> Now I've got Mingw (although I may try cygwin as I fancy the other
> *nix style utilities such as bash, gzip and tar as well), I'd be
> interested to know what to change to get it working myself. I've
> worked out that something in art.c needs changing but I can't work
> out exactly what.

The following patch should do the trick:

#v+
diff -ur slrn-0.9.6.3.orig/src/sortdate.c slrn-0.9.6.3/src/sortdate.c
--- slrn-0.9.6.3.orig/src/sortdate.c	Mon Sep 18 00:35:32 2000
+++ slrn-0.9.6.3/src/sortdate.c	Sat Feb 10 19:44:22 2001
@@ -21,17 +21,11 @@
 #include "slrnfeat.h"
 #include <stdio.h>
 #include <string.h>
-#include <ctype.h>
 
 #include "slrn.h"
 #include "util.h"
 
-#ifndef isdigit
-# define isdigit(x) (((x)>='0')&&((x)<='9'))
-#endif
-#ifndef isalpha
-# define isalpha(x) ((((x)>='A')&&((x)<='Z')) || (((x)>='A')&&((x)<='Z')))
-#endif
+#include "jdmacros.h"
 
 /* This routine parses the date field of a header and returns it as a time_t
  * object.  The main difficulity is the lack of uniformity in the date formats
#v-
-- 
Thomas Schultz <tststs@gmx.de> * Recent news from http://slrn.sourceforge.net/
 -> [2001-01-28] First steps towards slrn 0.9.7.0
 -> [2001-01-19] Thomas Schultz new slrn maintainer
 -> [2000-12-21] slrn 0.9.6.3pl3 released
Technical Details
Message-ID: <slrn98b35h.3ga.tststs@starflower.tststs.ddns.org>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!newspeer.clara.net!newspeer2.clara.net!news.clara.net!newsfeed01.sul.t-online.de!t-online.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
References: <slrn971k8h.3vu02in.spam@mh.hf.umist.ac.uk> <slrn97o4lo.am.tststs@starflower.tststs.ddns.org> <slrn9892oo.3vuc9rp.spam@mh.hf.umist.ac.uk>

Show Full Headers
Complete Article Headers
Message-ID: <slrn98b35h.3ga.tststs@starflower.tststs.ddns.org>
Subject: Re: [slrn] Article sorting doesn't work properly after upgrade to 0.9.6.3
Date: Sat, 10 Feb 2001 18:47:13 +0000
From: tststs@gmx.de (Thomas Schultz)
References: <slrn971k8h.3vu02in.spam@mh.hf.umist.ac.uk> <slrn97o4lo.am.tststs@starflower.tststs.ddns.org> <slrn9892oo.3vuc9rp.spam@mh.hf.umist.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.mbox.zip!supernews.google.com!sn-xit-02!supernews.com!peer.news.opaltelecom.net!londen1-snf1.gtei.net!news.gtei.net!newspeer.clara.net!newspeer2.clara.net!news.clara.net!newsfeed01.sul.t-online.de!t-online.de!do.de.uu.net!innmaster.de.uu.net!news.cityweb.de!tststs.ddns.org!not-for-mail
Newsgroups: news.software.readers
Organization: Pinguin online.
Lines: 39
NNTP-Posting-Host: 149.225.166.206
NNTP-Posting-Date: 10 Feb 2001 20:04:06 GMT
X-Complaints-To: abuse@cityweb.de
X-Server-Date: 10 Feb 2001 20:01:45 GMT
User-Agent: slrn/0.9.6.4pl2 (Linux)