AGWA / git-crypt

Transparent file encryption in git
https://www.agwa.name/projects/git-crypt/
GNU General Public License v3.0
8.32k stars 479 forks source link

Fix for -Wdeprecated-declarations warnings on GCC 7.2.0 #112

Closed ghost closed 7 years ago

ghost commented 7 years ago

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.

ghost commented 7 years ago

@AGWA Do you mind taking a look at this?

AGWA commented 7 years ago

Thank you @AdrianCohea and sorry for the delay. I have cherry-picked in d3bb5aba467194c4a08637e8730208177f138780

ghost commented 7 years ago

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 .