Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(symlink): fix --dereference --sort=size #996

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

MoSal
Copy link

@MoSal MoSal commented May 17, 2024

File::length() did not take --dereference into account, and used
symlink metadata unconditionally.

This commit fixes that.

@MoSal MoSal requested a review from cafkafk as a code owner May 17, 2024 17:32
@MoSal MoSal force-pushed the fix_dereference_sort_size branch 2 times, most recently from 031ade9 to b8a481e Compare May 17, 2024 18:48
PThorpe92
PThorpe92 previously approved these changes May 23, 2024
Copy link
Member

@PThorpe92 PThorpe92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good. Thanks for updating the tests 👍
ping @cafkafk

gierens
gierens previously approved these changes Jul 9, 2024
Copy link
Member

@cafkafk cafkafk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry,there has been changes conflicting with this PR, please integrate them before merge

 `File::length()` did not take `--dereference` into account, and used
 symlink metadata unconditionally.

 This commit fixes that.

Signed-off-by: Mohammad AlSaleh <CE.Mohammad.AlSaleh@gmail.com>
@MoSal MoSal dismissed stale reviews from gierens and PThorpe92 via f519bc6 October 18, 2024 15:07
@MoSal
Copy link
Author

MoSal commented Oct 18, 2024

@cafkafk Rebased.

@cafkafk
Copy link
Member

cafkafk commented Oct 18, 2024

Hmm, seem the bsd tests are failing... I'm not sure this is your fault, it may just be github being weird >_>

@MoSal
Copy link
Author

MoSal commented Oct 18, 2024

Hmm, seem the bsd tests are failing... I'm not sure this is your fault, it may just be github being weird >_>

Looks like it was a temporary issue, but the previous runs timed out.

timeout-minutes: 20

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🆕 New
Development

Successfully merging this pull request may close these issues.

4 participants