[pacman-dev] [PATCH] Improve changelog handling
dpmcgee at gmail.com
Fri Dec 7 13:38:54 EST 2007
On Dec 7, 2007 12:35 PM, Xavier <shiningxc at gmail.com> wrote:
> On Fri, Dec 07, 2007 at 12:28:25PM -0600, Aaron Griffin wrote:
> > On Dec 7, 2007 12:20 PM, Andrew Fyfe <andrew at neptune-one.net> wrote:
> > > One small suggestion, has anyone worked out how to read a file directly
> > > from an archive using libarchive rather than extracting to a temp file
> > > then reading the temp file? It would be useful here and where we read
> > > .PKGINFO
> > Yeah but we'd have to return an fd, which is fine, but adds some extra
> > complexity we may not want.
> I was thinking exactly the same as Andrew, why not just using
> ssize_t archive_read_data(struct archive *, void *buff, size_t len);
> I don't understand what you are saying however, about returning a fd.
I'll take a look at this tonight if I have time to work out an
acceptable set of changes if possible.
More information about the pacman-dev