Skip to content

as.sh: specifically handle a broken symlink#3006

Open
lijinliangyihao wants to merge 3 commits into
alibaba:masterfrom
lijinliangyihao:master
Open

as.sh: specifically handle a broken symlink#3006
lijinliangyihao wants to merge 3 commits into
alibaba:masterfrom
lijinliangyihao:master

Conversation

@lijinliangyihao

Copy link
Copy Markdown

If we have symlinks like this:

x -> y
y -> x

rreadlink will result in an infinite loop, which is not good.

Add a precheck in rreadlink, so senario like this will be reported:
Error: x: broken symbolic link to y

@CLAassistant

CLAassistant commented Apr 2, 2025

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@hengyunabc hengyunabc requested a review from Copilot July 27, 2025 01:18

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.

@hengyunabc hengyunabc requested a review from Copilot September 11, 2025 09:41

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants