Rename store_blk to write_blk - dedup - deduplicating backup program
 (HTM) git clone git://bitreich.org/dedup/ git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/dedup/
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) Tags
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit ad360edb70575b72ca96071e12bdd3106a055c86
 (DIR) parent 20f65f4dab52f9b4432a8f69987a485852777d85
 (HTM) Author: sin <sin@2f30.org>
       Date:   Sun, 17 Feb 2019 11:27:44 +0000
       
       Rename store_blk to write_blk
       
       To be consistent with read_blk.
       
       Diffstat:
         M dedup.c                             |       4 ++--
       
       1 file changed, 2 insertions(+), 2 deletions(-)
       ---
 (DIR) diff --git a/dedup.c b/dedup.c
       @@ -340,7 +340,7 @@ read_blk(uint8_t *buf, struct bdescr *bdescr)
        }
        
        void
       -store_blk(uint8_t *buf, struct bdescr *bdescr)
       +write_blk(uint8_t *buf, struct bdescr *bdescr)
        {
                lseek(sfd, bdescr->offset, SEEK_SET);
                xwrite(sfd, buf, bdescr->size);
       @@ -407,7 +407,7 @@ dedup(int fd, char *msg)
                                        ent->bdescr[ent->nblks++] = bdescr;
        
                                        /* Store block */
       -                                store_blk(bp, &bdescr);
       +                                write_blk(bp, &bdescr);
        
                                        /* Create a cache entry for this block */
                                        cent = alloc_cent();