Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

preserve file attributes #29

Merged
merged 1 commit into from
Apr 6, 2024
Merged

preserve file attributes #29

merged 1 commit into from
Apr 6, 2024

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
1 check passed
@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