Closed ghost closed 7 years ago
@AGWA Do you mind taking a look at this?
Thank you @AdrianCohea and sorry for the delay. I have cherry-picked in d3bb5aba467194c4a08637e8730208177f138780
Hey, no problem thanks a ton, Andrew!
Adrian Cohea
On Sun, Sep 10, 2017 at 12:38 PM, Andrew Ayer notifications@github.com wrote:
Closed #112 https://github.com/AGWA/git-crypt/pull/112.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/AGWA/git-crypt/pull/112#event-1242310584, or mute the thread https://github.com/notifications/unsubscribe-auth/AEwzirPeaRkDhbUXgMgI2yX3h55G2MYBks5shDqagaJpZM4MhlmU .
When compiling this, I noticed there are some compilation warnings for the use of std::auto_ptr and readdir_r(). I changed it to use std::unique_ptr instead and readdir. The function readdir is now reentrant.