URI:
       tRename store_blk to write_blk - dedup - deduplicating backup program
  HTML git clone git://git.z3bra.org/dedup.git
   DIR Log
   DIR Files
   DIR Refs
   DIR README
   DIR LICENSE
       ---
   DIR commit ad360edb70575b72ca96071e12bdd3106a055c86
   DIR parent 20f65f4dab52f9b4432a8f69987a485852777d85
  HTML 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
       t@@ -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);
       t@@ -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();