File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -547,12 +547,6 @@ ZEND_API zend_result open_file_for_scanning(zend_file_handle *file_handle)
547
547
548
548
ZEND_ASSERT (!EG (exception) && " stream_fixup() should have failed" );
549
549
zend_llist_add_element (&CG (open_files), file_handle);
550
- if (file_handle->handle .stream .handle >= (void *)file_handle && file_handle->handle .stream .handle <= (void *)(file_handle+1 )) {
551
- zend_file_handle *fh = (zend_file_handle*)zend_llist_get_last (&CG (open_files));
552
- size_t diff = (char *)file_handle->handle .stream .handle - (char *)file_handle;
553
- fh->handle .stream .handle = (void *)(((char *)fh) + diff);
554
- file_handle->handle .stream .handle = fh->handle .stream .handle ;
555
- }
556
550
557
551
/* Reset the scanner for scanning the new file */
558
552
SCNG (yy_in) = file_handle;
You can’t perform that action at this time.
0 commit comments