-
-
Notifications
You must be signed in to change notification settings - Fork 479
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
patchelf breaks hardlinks #32
Comments
patchelf writes the changes in a new temporary file and replaces the original with the new one, that's why this happens. |
Breaking hardlinks is rather unexpected behaviour. Can |
I found the solution! This is what "static void writeFile()" should look like:
|
Excellent! Thanks. I'll test it soon. Without |
@edolstra Can you please merge this patch from @darealshinji to fix this issue? Thanks! |
Great. Thanks. Will there be a new stable release that includes this fix? |
Hard links are used extensively by gcc and git. See the example below.
Experiment
Observed
Expected
The text was updated successfully, but these errors were encountered: