Skip to content

stream: minor refactorings (2026-10 n) - #24307

Merged
Girgias merged 2 commits into
php:masterfrom
Girgias:stream-refactoring
Nov 22, 2026
Merged

Girgias merged 2 commits into
php:masterfrom
Girgias:stream-refactoring

Conversation

@Girgias

@Girgias Girgias commented Oct 13, 2026

Copy link
Copy Markdown
Member

No description provided.

@Girgias
Girgias force-pushed the stream-refactoring branch from 2d9231d to e6d83c9 Compare October 13, 2026 23:35
@Girgias
Girgias marked this pull request as ready for review October 14, 2026 12:50
@Girgias
Girgias requested a review from bukka as a code owner October 14, 2026 12:50
@Girgias
Girgias requested a review from devnexen November 22, 2026 18:40
Comment thread main/streams/streams.c
int ret = 1;
int preserve_handle = close_options & PHP_STREAM_FREE_PRESERVE_HANDLE ? 1 : 0;
int release_cast = 1;
bool preserve_handle = (close_options & PHP_STREAM_FREE_PRESERVE_HANDLE) ? true : false;

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

nit: line 275, preserve_handle still sets to 1

@Girgias
Girgias merged commit 62da58a into php:master Nov 22, 2026
2 of 3 checks passed
@Girgias
Girgias deleted the stream-refactoring branch November 22, 2026 19:54
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.

2 participants