muntorg / munt-official

Munt is a witness-secured decentralized network for payments, digital assets, finance and more
https://www.munt.org
Other
135 stars 46 forks source link

Makes dbinc/atomic.h writable #238

Closed timkoers closed 3 years ago

timkoers commented 3 years ago

This commit fixes a compilation error. It occured on WSL2, but I don't think that's necessarily the cause of the problem

mjmacleod commented 3 years ago

This seems a bit strange, I've built on WSL2 in the past without this, before I merge do you have any idea/guesses at anything special that might be causing this file to be non writeable to begin with?

mjmacleod commented 3 years ago

I wonder if simply changing sed -i.old2 's/__atomic_compare_exchange/__atomic_compare_exchange_db/g' dbinc/atomic.h dbinc/atomic.h for sed -i.old2 's/__atomic_compare_exchange/__atomic_compare_exchange_db/g' dbinc/atomic.h might resolve the issue for you, the double filename seems like a mistake...

mjmacleod commented 3 years ago

I've made the change I've proposed above, if the issue still occurs such that the chmod is necessary please re-open with more info and I'll consider it