Skip to content

Commit 9ea39d1

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
* PHP-7.2: Fix #78282: atime and mtime mismatch
2 parents a87ef5e + 954543c commit 9ea39d1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

NEWS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ PHP NEWS
3131
- Standard:
3232
. Fixed bug #69100 (Bus error from stream_copy_to_stream (file -> SSL stream)
3333
with invalid length). (Nikita)
34+
. Fixed bug #78282 (atime and mtime mismatch). (cmb)
3435
. Fixed bug #78326 (improper memory deallocation on stream_get_contents()
3536
with fixed length buffer). (Albert Casademont)
3637
. Fixed bug #78346 (strip_tags no longer handling nested php tags). (cmb)

TSRM/tsrm_win32.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ static zend_always_inline void UnixTimeToFileTime(time_t t, LPFILETIME pft) /* {
770770
// Note that LONGLONG is a 64-bit value
771771
LONGLONG ll;
772772

773-
ll = t * 10000000 + 116444736000000000;
773+
ll = t * 10000000LL + 116444736000000000LL;
774774
pft->dwLowDateTime = (DWORD)ll;
775775
pft->dwHighDateTime = ll >> 32;
776776
}

0 commit comments

Comments
 (0)