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

Update bootstrap-t4p4s.sh and fix state initialization for main socket != 0 #28

Open
wants to merge 10 commits into
base: master
Choose a base branch
from

Conversation

manuel-simon
Copy link

main branch of p4c renamed #27

@manuel-simon manuel-simon changed the title Update bootstrap-t4p4s.sh Update bootstrap-t4p4s.sh and fix state initialization for main socket != 0 May 10, 2021
@manuel-simon
Copy link
Author

replaced state[0] -> state[main_socketid] #30

@@ -362,7 +362,7 @@ if [ "$INSTALL_STAGE3_PROTOBUF" == "yes" ]; then
fi

if [ "$INSTALL_STAGE4_P4C" == "yes" ]; then
[ ! -d "p4c" ] && git clone "$REPO_PATH_p4c" --no-hardlinks --recursive >$(logfile "get-p4c") 2>&1 && cd p4c && git checkout `git rev-list -1 --before="$P4C_COMMIT_DATE" master` >>$(logfile "get-p4c") 2>&1 && git submodule update --init --recursive &
[ ! -d "p4c" ] && git clone "$REPO_PATH_p4c" --no-hardlinks --recursive >$(logfile "get-p4c") 2>&1 && cd p4c && git checkout `git rev-list -1 --before="$P4C_COMMIT_DATE" main` >>$(logfile "get-p4c") 2>&1 && git submodule update --init --recursive &
Copy link
Contributor

Choose a reason for hiding this comment

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

This problem has been resolved with commit d110dda

…ted logically or arithmetically (filling with 1-bits, if the sign bit is 1). Therefore explicitly stated to handle the shift logically, using an unsigned integer value

(cherry picked from commit 3499e4ff4d4685f20e70bf0ce401f46b276340f8)
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.

2 participants