Skip to content

Commit 5541929

Browse files
authored
Add files via upload
1 parent 3ada37a commit 5541929

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

pycatfile.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5930,6 +5930,15 @@ def AppendFilesWithContent(infiles, fp, dirlistfromtxt=False, extradata=[], json
59305930
FullSizeFilesAlt += fstatinfo.st_rsize
59315931
except AttributeError:
59325932
FullSizeFilesAlt += fstatinfo.st_size
5933+
fblksize = 0
5934+
fblocks = 0
5935+
fflags = 0
5936+
if(hasattr(fstatinfo, "st_blksize")):
5937+
fblksize = int(fstatinfo.st_blksize)
5938+
if(hasattr(fstatinfo, "st_blocks")):
5939+
fblocks = int(fstatinfo.st_blocks)
5940+
if(hasattr(fstatinfo, "st_flags")):
5941+
fflags = int(fstatinfo.st_flags)
59335942
ftype = 0
59345943
if(hasattr(os.path, "isjunction") and os.path.isjunction(fname)):
59355944
ftype = 13

0 commit comments

Comments
 (0)