diff options
author | aszlig <aszlig@redmoonstudios.org> | 2015-01-02T02·45+0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2015-01-02T11·53+0100 |
commit | 8b88d25cda1467018bdbe1659e6b994a2e66f4fb (patch) | |
tree | 0f7426449d3d6de173468d184e5c16e2433bc666 /misc/launchd | |
parent | bbd45ac80fa8ab80acd317ed8d5cc8b3448f7387 (diff) |
libutil: Limit readLink() error to only overflows.
Let's not just improve the error message itself, but also the behaviour to actually work around the ntfs-3g symlink bug. If the readlink() call returns a smaller size than the stat() call, this really isn't a problem even if the symlink target really has changed between the calls. So if stat() reports the size for the absolute path, it's most likely that the relative path is smaller and thus it should also work for file system bugs as mentioned in 93002d69fc58c2b71e2dfad202139230c630c53a. Signed-off-by: aszlig <aszlig@redmoonstudios.org> Tested-by: John Ericson <Ericson2314@Yahoo.com>
Diffstat (limited to 'misc/launchd')
0 files changed, 0 insertions, 0 deletions