January 07, 2012 [phobos] [D-Programming-Language/phobos] : Fixed bug in std.file.readLink with regards to cen... | ||||
---|---|---|---|---|
| ||||
Branch: refs/heads/master Home: https://github.com/D-Programming-Language/phobos Commit: 69f0097d8b247d0ca997a4bcc02bf3171879e6a5 https://github.com/D-Programming-Language/phobos/commit/69f0097d8b247d0ca997a4bcc02bf3171879e6a5 Author: jmdavis <jmdavisProg at gmx.com> Date: 2012-01-07 (Sat, 07 Jan 2012) Changed paths: M std/file.d Log Message: ----------- Fixed bug in std.file.readLink with regards to cenforce. readLink should be checking that the result of readlink is not -1, not that it's not 0, so the cenforce calls were wrong and were resulting in incorrect behavior when readlink failed. Commit: 4e058187519e1fe52efa191cc5cf1855d738f313 https://github.com/D-Programming-Language/phobos/commit/4e058187519e1fe52efa191cc5cf1855d738f313 Author: jmdavis <jmdavisProg at gmx.com> Date: 2012-01-07 (Sat, 07 Jan 2012) Changed paths: M std/file.d Log Message: ----------- Added unit test for readLink cenforce fix. Commit: d774569275442eb6396baf7784c1faa96621627e https://github.com/D-Programming-Language/phobos/commit/d774569275442eb6396baf7784c1faa96621627e Author: Brad Roberts <braddr at puremagic.com> Date: 2012-01-07 (Sat, 07 Jan 2012) Changed paths: M std/file.d Log Message: ----------- Merge pull request #385 from jmdavis/file Fixed bug in std.file.readLink with regards to cenforce. Compare: https://github.com/D-Programming-Language/phobos/compare/23d7f34...d774569 |
Copyright © 1999-2021 by the D Language Foundation