Skip to content

Get rid of reserved name usage in ext/libxml #16707

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

Merged
merged 2 commits into from
Nov 6, 2024

Conversation

nielsdos
Copy link
Member

@nielsdos nielsdos commented Nov 5, 2024

Names starting with an _ are reserved in C.

Names starting with an _ are reserved in C.
Copy link
Member

@cmb69 cmb69 left a comment

Choose a reason for hiding this comment

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

Good idea!

@@ -451,7 +451,7 @@ static void *php_libxml_streams_IO_open_wrapper(const char *filename, const char
return NULL;
}

/* logic copied from _php_stream_stat, but we only want to fail
/* logic copied from php_stream_stat, but we only want to fail
Copy link
Member

Choose a reason for hiding this comment

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

Maybe leave that for now (after all, the macro wrapper has no logic)?

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

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

MSTM

@nielsdos nielsdos merged commit bc4fa01 into php:master Nov 6, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants