Skip to content

Commit bf250e9

Browse files
committed
Merge branch 'PHP-8.1' into PHP-8.2
2 parents f320c35 + b4208c8 commit bf250e9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/standard/basic_functions.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,8 @@ static void basic_globals_ctor(php_basic_globals *basic_globals_p) /* {{{ */
229229

230230
BG(page_uid) = -1;
231231
BG(page_gid) = -1;
232+
233+
BG(syslog_device) = NULL;
232234
}
233235
/* }}} */
234236

ext/standard/syslog.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,6 @@
3535
/* {{{ PHP_MINIT_FUNCTION */
3636
PHP_MINIT_FUNCTION(syslog)
3737
{
38-
BG(syslog_device)=NULL;
39-
4038
return SUCCESS;
4139
}
4240
/* }}} */

0 commit comments

Comments
 (0)