🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
3 messages
3 total messages Started by William C Fenner Wed, 09 Jun 1993 12:23
Re: tin slow checksum on SunOS
#4419
Author: William C Fenner
Date: Wed, 09 Jun 1993 12:23
10 lines
1112 bytes
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()?

  Bill
-- 
Bill Fenner                  fenner@cmf.nrl.navy.mil
Re: tin slow checksum on SunOS
#4435
Author: 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.
Re: tin slow checksum on SunOS
#4526
Author: Iain Lea
Date: Tue, 15 Jun 1993 19:42
17 lines
1307 bytes
David Abbott (dfa@rabbit.physiol.unimelb.edu.au) wrote:
: William C Fenner (fenner@cmf.nrl.navy.mil) wrote:
: :
: : 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.  If you are reading this Iain you might like 
: to let me know.

Send it to me and I'll take a look at it.  If it does'nt break any other
code I will probably include it in PL1 due RSN.

Iain

--
iain.lea@erlm.siemens.de  +49-911-3089-407
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads