summaryrefslogtreecommitdiff
path: root/sys/src/libregexp/regexec.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2014-09-29 21:01:51 +0200
committercinap_lenrek <cinap_lenrek@felloff.net>2014-09-29 21:01:51 +0200
commit4f4d71b941e568b158da73978e25105b94afd7fd (patch)
tree303526eb1c8189a779c4b36bb928f28a36cd1a46 /sys/src/libregexp/regexec.c
parentc1dc5d15c374c34395af92e002f064cd3e9ce5dc (diff)
hgfs: make data files with meta headers having the right size after open
to get the right data size of a file, the revlog needs to have been opened and the metaheader parsed. as an optimization, we used to open revlog only on the first read resulting revlogs with metaheaders having the wrong size returned by fstat() until the first read(). tar relies on fstat() giving the correct file size, so just open the revlog on open. reading directories can still yield the wrong size but it is not that critical.
Diffstat (limited to 'sys/src/libregexp/regexec.c')
0 files changed, 0 insertions, 0 deletions