From 29be96760e9f08d0165dc1b5ca25cbd0823f9762 Mon Sep 17 00:00:00 2001 From: Nick Bowler Date: Wed, 10 Jun 2009 18:34:44 -0400 Subject: [PATCH] Fix upkg_export_seek to actually change the offset field. --- src/libupkg.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/libupkg.c b/src/libupkg.c index 8072516..4bb13a3 100644 --- a/src/libupkg.c +++ b/src/libupkg.c @@ -476,6 +476,7 @@ int upkg_export_seek(struct upkg_file *f, long offset, int whence) if (rc == 0) { f->pkg->priv->last_file = f; + f->offset = offset; f->eof = 0; } else if (f->pkg->priv->last_file == f) { f->pkg->priv->last_file = NULL; -- 2.43.2