Browse Source
- add EG(windows_version_info), set at init time once per instance
- add EG(windows_version_info), set at init time once per instance
contains a OSVERSIONINFOEX struct. It lets us determine easily on which windows version is used (for example) - add the ability to disable a function when the windows function does not support a feature (for example symlink) - symlink, hardlink & co support (1/2)experimental/5.3-FPM
2 changed files with 72 additions and 4 deletions
@ -0,0 +1,25 @@ |
|||
/* |
|||
+----------------------------------------------------------------------+ |
|||
| PHP Version 5 | |
|||
+----------------------------------------------------------------------+ |
|||
| Copyright (c) 1997-2009 The PHP Group | |
|||
+----------------------------------------------------------------------+ |
|||
| 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 | |
|||
| available through the world-wide-web at the following url: | |
|||
| http://www.php.net/license/3_01.txt | |
|||
| If you did not receive a copy of the PHP license and are unable to | |
|||
| obtain it through the world-wide-web, please send a note to | |
|||
| license@php.net so we can mail you a copy immediately. | |
|||
+----------------------------------------------------------------------+ |
|||
| Author: Pierre A. Joye <pierre@php.net> | |
|||
+----------------------------------------------------------------------+ |
|||
*/ |
|||
|
|||
/* $Id$ */ |
|||
|
|||
/* 5 means the min version is 5 (XP/2000), 6 (2k8/vista), etc. */ |
|||
static const char *function_name_5[] = {"link", NULL}; |
|||
const int function_name_cnt_5 = 1; |
|||
static const char *function_name_6[] = {"readlink", "symlink", NULL}; |
|||
const int function_name_cnt_6 = 2; |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue