Skip to content

Commit baef1a5

Browse files
committed
Merge branch 'master' into jit-dynasm
* master: Fixed tests NEWS Fixed Bug #75149 redefinition of typedefs ttinfo and t1info
2 parents 368c729 + 781e78f commit baef1a5

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

ext/date/lib/timelib_private.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -115,21 +115,21 @@
115115
m = NULL; \
116116
}
117117

118-
typedef struct ttinfo
118+
struct ttinfo
119119
{
120120
int32_t offset;
121121
int isdst;
122122
unsigned int abbr_idx;
123123

124124
unsigned int isstdcnt;
125125
unsigned int isgmtcnt;
126-
} ttinfo;
126+
};
127127

128-
typedef struct tlinfo
128+
struct tlinfo
129129
{
130130
int32_t trans;
131131
int32_t offset;
132-
} tlinfo;
132+
};
133133

134134

135135
#ifndef LONG_MAX

ext/opcache/tests/jmp_elim_001.phpt

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,9 @@ Edge-cases in constant conditional jump elimination
88
$webserver = "Apache";
99
$cpuArc = "x86_64";
1010
$archName = (strstr($cpuArc, "64") || PHP_INT_SIZE === 8) ? "64" : "32";
11-
$info = array('os' => PHP_OS,
12-
'phpversion' => phpversion(),
13-
'arch' => $archName,
11+
$info = array('arch' => $archName,
1412
'webserver' =>$webserver);
1513
header('Content-Type: application/json');
1614
echo json_encode($info) . "\n";
1715
--EXPECT--
18-
{"os":"Linux","phpversion":"7.2.0-dev","arch":"64","webserver":"Apache"}
16+
{"arch":"64","webserver":"Apache"}

0 commit comments

Comments
 (0)