Skip to content

mk-lib1521.pl: fix the long return code check - #15372

Closed
bagder wants to merge 1 commit into
masterfrom
bagder/mk1521
Closed

mk-lib1521.pl: fix the long return code check#15372
bagder wants to merge 1 commit into
masterfrom
bagder/mk1521

Conversation

@bagder

@bagder bagder commented Oct 22, 2024

Copy link
Copy Markdown
Member

It worked mostly by accident since it checked the variable from the previous setopt invoke.

Bonus: this disables deprecation differently. Using the CURL_IGNORE_DEPRECATION() style works, but it makes the code infuriatingly annoying to work with when single-stepping in a debugger.

@bagder

bagder commented Oct 22, 2024

Copy link
Copy Markdown
Member Author

Hm, this isn't easy to fix in a nice and clean way...

@bagder

bagder commented Oct 22, 2024

Copy link
Copy Markdown
Member Author

The reason the existing macro is bad to use in lib1521 is that it effectively prevents us from setting a break-point in lib1521.c with a debugger inside that macro, and it also breaks single-stepping. This makes debugging super annoying and downright complicated.

@bagder

bagder commented Oct 22, 2024

Copy link
Copy Markdown
Member Author

GGGGGGGGGG

@bagder

bagder commented Oct 22, 2024

Copy link
Copy Markdown
Member Author

I'll drop the deprecation part from this PR and come back to it later.

It worked mostly by accident since it checked the variable from the
previous setopt invoke.
@dfandrich

Copy link
Copy Markdown
Contributor

Analysis of PR #15372 at 92e6b3fd:

Test 1193 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Test 1196 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Test 2201 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Test 2205 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Test 1452 failed, which has NOT been flaky recently, so there could be a real issue in this PR.

Generated by Testclutch

pps83 pushed a commit to pps83/curl that referenced this pull request Apr 26, 2025
It worked mostly by accident since it checked the variable from the
previous setopt invoke.

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

Development

Successfully merging this pull request may close these issues.

2 participants