diff options
author | midipix <writeonce@midipix.org> | 2024-06-09 02:53:20 +0000 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2024-06-09 02:53:20 +0000 |
commit | b56498361d59ed226132c4ac6ff889db0387ba21 (patch) | |
tree | d275c6a0c7419afc5b6ca980b1e002e78172b20e | |
parent | e99de36b4ab5f9f8a331b4a4401204a19c468957 (diff) | |
download | tpax-b56498361d59ed226132c4ac6ff889db0387ba21.tar.bz2 tpax-b56498361d59ed226132c4ac6ff889db0387ba21.tar.xz |
logic: renamed tpax_dirent_init_from_uctx() as tpax_dirent_init_from_stat().
-rw-r--r-- | src/logic/tpax_archive_enqueue.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/logic/tpax_archive_enqueue.c b/src/logic/tpax_archive_enqueue.c index 4f5683d..3afcb67 100644 --- a/src/logic/tpax_archive_enqueue.c +++ b/src/logic/tpax_archive_enqueue.c @@ -84,7 +84,7 @@ static char * tpax_add_prefix_item_from_path( return tpax_add_prefix_item(dctx,pathbuf); } -static int tpax_dirent_init_from_uctx( +static int tpax_dirent_init_from_stat( const struct stat * st, const char * basename, struct dirent * dirent) @@ -375,7 +375,7 @@ static int tpax_archive_enqueue_dir_entries( close(fdlnk); - if (tpax_dirent_init_from_uctx(&lnkst,lnktgt,lnkent) < 0) + if (tpax_dirent_init_from_stat(&lnkst,lnktgt,lnkent) < 0) return tpax_archive_enqueue_ret( TPAX_CUSTOM_ERROR( dctx, @@ -487,7 +487,7 @@ int tpax_archive_enqueue( 0); /* explicit item directory entry */ - if (tpax_dirent_init_from_uctx(uctx->st,name,dirent) < 0) + if (tpax_dirent_init_from_stat(uctx->st,name,dirent) < 0) return tpax_archive_enqueue_ret( TPAX_CUSTOM_ERROR( dctx, @@ -517,7 +517,7 @@ int tpax_archive_enqueue( close(fdlnk); - if (tpax_dirent_init_from_uctx(&lnkst,uctx->link[0],lnkent) < 0) + if (tpax_dirent_init_from_stat(&lnkst,uctx->link[0],lnkent) < 0) return tpax_archive_enqueue_ret( TPAX_CUSTOM_ERROR( dctx, |