Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@tansy
Copy link
Contributor

@tansy tansy commented Feb 3, 2024

Preserve file attributes, and modification time

It means to Preserve file attributes, and modification time as gzip/bzip do. For some reason the modification doesn't get preserved although in my test it worked. Even changing it before closing file worked (test/2). Maybe someone can spot the problem and fix that.

@tansy
Copy link
Contributor Author

tansy commented Mar 25, 2024

I found a minute to check that with strace and found an error and also problem with system (?) write buffer that was writing right before closing but after set_fstat(). Forcing flush solved it.

@mcmilk mcmilk merged commit d6c1fda into mcmilk:master Apr 6, 2024
@tansy tansy deleted the fstat branch April 24, 2024 19:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants