Skip to content

Commit

Permalink
bpc_attrib_buf2fileFull() calls bpc_attrib_xattrDeleteAll(file)
Browse files Browse the repository at this point in the history
  • Loading branch information
craigbarratt committed May 30, 2020
1 parent abd1777 commit 2038a6a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ Revision history for Perl extension BackupPC-XS.

- bpc_attribCache_loadPath() removes any extraneous BPC_FTYPE_DELETED file types

- bpc_attrib_buf2fileFull() calls bpc_attrib_xattrDeleteAll(file)

0.59: Apr 7, 2019

- fix to use correct int format when reading v3 attrib files, reported and fixed
Expand Down
2 changes: 2 additions & 0 deletions bpc_attrib.c
Original file line number Diff line number Diff line change
Expand Up @@ -668,7 +668,9 @@ uchar *bpc_attrib_buf2fileFull(bpc_attrib_file *file, uchar *bufP, uchar *bufEnd
return NULL;
}
bufP += fileNameLen;
bpc_attrib_xattrDeleteAll(file);
xattrNumEntries = getVarInt(&bufP, bufEnd);
if ( BPC_LogLevel >= 6 ) bpc_logMsgf("bpc_attrib_buf2fileFull: xattrNumEntries = %d\n", xattrNumEntries);
bufP = bpc_attrib_buf2file(file, bufP, bufEnd, xattrNumEntries);
return bufP;
}
Expand Down

0 comments on commit 2038a6a

Please sign in to comment.