Skip to content

Share - #277

Draft
andrewbird wants to merge 4 commits into
FDOS:masterfrom
andrewbird:share
Draft

Share#277
andrewbird wants to merge 4 commits into
FDOS:masterfrom
andrewbird:share

Conversation

@andrewbird

Copy link
Copy Markdown
Contributor

Should address #276.

1/ Update submodule from master repo
2/ Copy not move binary to target directory
On older releases of share there was no 10a6 function, so after an
unhandled call to it the return value could be rubbish. Set the
carry flag beforehand and check that the flag is clear before testing
the value. If it is set then we follow the old behaviour of allowing
delete / rename on all files including open ones, otherwise we'd find
the situation described in FDOS#276.
Rename / Delete / SetFattr of a file that's already been opened
with SHARE_COMPAT should succeed and otherwise return an error. As
this changes the interface of int2f/10a6 it should be applied at
the same time as the corresponding patch in share. Modelled on a
similar fix to FDPP which was applied in the
following patches:
f15bd2f33a49e50db7a05da7d9751dec1aa6f834
d530b5a65a873a2438b0ff9fd37a406d5fc63f7f
@andrewbird

Copy link
Copy Markdown
Contributor Author

@PerditionC I'd appreciate a review?

@andrewbird

Copy link
Copy Markdown
Contributor Author

I looked at the ow branch of share, and as you hinted it's radically different from master. I'll wait for it to get finished and merged into master, then perhaps I'll revisit this.

This branch has not been deployed

No deployments
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.

1 participant