Diff for /embedaddon/php/TSRM/tsrm_virtual_cwd.c between versions 1.1.1.2 and 1.1.1.3

version 1.1.1.2, 2012/05/29 12:34:34 version 1.1.1.3, 2013/07/22 01:32:14
Line 2 Line 2
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | PHP Version 5                                                        |     | PHP Version 5                                                        |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
   | Copyright (c) 1997-2012 The PHP Group                                |   | Copyright (c) 1997-2013 The PHP Group                                |
    +----------------------------------------------------------------------+     +----------------------------------------------------------------------+
    | This source file is subject to version 3.01 of the PHP license,      |     | This source file is subject to version 3.01 of the PHP license,      |
    | that is bundled with this package in the file LICENSE, and is        |     | that is bundled with this package in the file LICENSE, and is        |
Line 40 Line 40
 #  define IO_REPARSE_TAG_SYMLINK 0xA000000C  #  define IO_REPARSE_TAG_SYMLINK 0xA000000C
 # endif  # endif
   
   # ifndef IO_REPARSE_TAG_DEDUP
   #  define IO_REPARSE_TAG_DEDUP   0x80000013
   # endif
   
 # ifndef VOLUME_NAME_NT  # ifndef VOLUME_NAME_NT
 #  define VOLUME_NAME_NT 0x2  #  define VOLUME_NAME_NT 0x2
 # endif  # endif
Line 945  static int tsrm_realpath_r(char *path, int start, int  Line 949  static int tsrm_realpath_r(char *path, int start, int 
                                         return -1;                                          return -1;
                                 };                                  };
                                 substitutename[substitutename_len] = 0;                                  substitutename[substitutename_len] = 0;
                           }
                           else if (pbuffer->ReparseTag == IO_REPARSE_TAG_DEDUP) {
                                   isabsolute = 1;
                                   memcpy(substitutename, path, len + 1);
                                   substitutename_len = len;
                         } else {                          } else {
                                 tsrm_free_alloca(pbuffer, use_heap_large);                                  tsrm_free_alloca(pbuffer, use_heap_large);
                                 return -1;                                  return -1;

Removed from v.1.1.1.2  
changed lines
  Added in v.1.1.1.3


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>