Skip to content

Commit f578d57

Browse files
committed
Merge branch 'PHP-7.4'
* PHP-7.4: Fix #79470: PHP incompatible with 3rd party file system on demand
2 parents 90db6f2 + a2ed731 commit f578d57

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

Zend/zend_virtual_cwd.c

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,14 @@
5353
#define IO_REPARSE_TAG_ONEDRIVE (0x80000021L)
5454
#endif
5555

56+
# ifndef IO_REPARSE_TAG_ACTIVISION_HSM
57+
# define IO_REPARSE_TAG_ACTIVISION_HSM (0x00000047L)
58+
# endif
59+
60+
# ifndef IO_REPARSE_TAG_PROJFS
61+
# define IO_REPARSE_TAG_PROJFS (0x9000001CL)
62+
# endif
63+
5664
# ifndef VOLUME_NAME_NT
5765
# define VOLUME_NAME_NT 0x2
5866
# endif
@@ -747,7 +755,9 @@ static size_t tsrm_realpath_r(char *path, size_t start, size_t len, int *ll, tim
747755
else if (pbuffer->ReparseTag == IO_REPARSE_TAG_DEDUP ||
748756
/* Starting with 1709. */
749757
(pbuffer->ReparseTag & ~IO_REPARSE_TAG_CLOUD_MASK) == IO_REPARSE_TAG_CLOUD ||
750-
IO_REPARSE_TAG_ONEDRIVE == pbuffer->ReparseTag) {
758+
IO_REPARSE_TAG_ONEDRIVE == pbuffer->ReparseTag ||
759+
IO_REPARSE_TAG_ACTIVISION_HSM == pbuffer->ReparseTag ||
760+
IO_REPARSE_TAG_PROJFS == pbuffer->ReparseTag) {
751761
isabsolute = 1;
752762
substitutename = malloc((len + 1) * sizeof(char));
753763
if (!substitutename) {

0 commit comments

Comments
 (0)