🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #4435

Re: tin slow checksum on SunOS

#4435
From: David Abbott
Date: Thu, 10 Jun 1993 05:09
18 lines
1735 bytes
William C Fenner (fenner@cmf.nrl.navy.mil) wrote:
: In article <1v3lc4INNbql@ariel.ucs.unimelb.edu.au> dfa@rabbit.physiol.unimelb.edu.au (David Abbott) writes:
: >The way get_archive_file currently works is to do a popen on
: >an 'ls -t' function and read the first line.

: Yuck.  Why spawn a process for something that could be done easily with
: readdir() and stat()?

My thoughts also.  In fact I've just written a replacement function
which does just that.  It seems to work well.  I'll test it for a few
days and post it to alt.sources if I find no bugs.  Or should I send
it to Iain?  If you are reading this Iain you might like to let me
know.

---
David Abbott                     | Email: dfa@physiol.unimelb.edu.au
School of Physics & Dept. of Physiology | Phone: +61-3-344-5465
The University of Melbourne, Australia. | Fax:    Available on request.
Technical Details
Message-ID: <1v6fn4INN268@ariel.ucs.unimelb.EDU.AU>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!sdd.hp.com!saimiri.primate.wisc.edu!caen!batcomputer!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!rabbit.physiol.unimelb.edu.au!dfa
References: <1v3lc4INNbql@ariel.ucs.unimelb.edu.au> <C8Ct3F.KB@ra.nrl.navy.mil>

Show Full Headers
Complete Article Headers
Message-ID: <1v6fn4INN268@ariel.ucs.unimelb.EDU.AU>
Subject: Re: tin slow checksum on SunOS
Date: Thu, 10 Jun 1993 05:09:56 +0000
From: dfa@rabbit.physiol.unimelb.edu.au (David Abbott)
References: <1v3lc4INNbql@ariel.ucs.unimelb.edu.au> <C8Ct3F.KB@ra.nrl.navy.mil>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!usc!sdd.hp.com!saimiri.primate.wisc.edu!caen!batcomputer!munnari.oz.au!ariel.ucs.unimelb.EDU.AU!rabbit.physiol.unimelb.edu.au!dfa
Newsgroups: news.software.readers
Organization: University of Melbourne
Lines: 18
NNTP-Posting-Host: rabbit.physiol.unimelb.edu.au
X-Newsreader: TIN [version 1.2 PL0]