gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnu-arch-users] Changing cmd-grab.c:find_latest_revision into ????:arch


From: James Blackwell
Subject: [Gnu-arch-users] Changing cmd-grab.c:find_latest_revision into ????:arch_find_latest_revision
Date: Thu, 18 Dec 2003 22:26:17 -0500
User-agent: Mutt/1.5.4i

In cmd-grab.c I have a nifty little find_latest_revision function that I
could really use for a snap-config command that I'm writing. As such, I'd
like to move it out of cmd-grab.c into another source file so that I can
include it. 

The function in question is: 
t_uchar * find_latest_revision (t_uchar *archive_name, t_uchar *revision);

Given a archive name and anything from "this--that" to
"this--that--1.0--patch-54", find_latest_revision reports back a full
revision. 

archives.c doesn't seem quite right as that file is mostly concerned with
general archive activities (where is an archive, what is an archive's
location, etc). However, there (at least not yet) is not a revisions.c
that would seem more appropriate.


Would anyone care to comment? 


-- 
James Blackwell        Using I.T. to bring more                570-407-0488
Owner, Inframix        business to your business        http://inframix.com

   GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400




reply via email to

[Prev in Thread] Current Thread [Next in Thread]