mirror of
https://github.com/php/php-src.git
synced 2025-08-21 01:45:16 +02:00
- Fix oversight
This commit is contained in:
parent
ff87d57268
commit
9f628d10f6
1 changed files with 1 additions and 1 deletions
|
@ -1402,7 +1402,7 @@ SPL_METHOD(SplFileObject, __construct)
|
||||||
if (spl_filesystem_file_open(intern, use_include_path, 0 TSRMLS_CC) == SUCCESS) {
|
if (spl_filesystem_file_open(intern, use_include_path, 0 TSRMLS_CC) == SUCCESS) {
|
||||||
p1 = strrchr(intern->file_name, '/');
|
p1 = strrchr(intern->file_name, '/');
|
||||||
#if defined(PHP_WIN32) || defined(NETWARE)
|
#if defined(PHP_WIN32) || defined(NETWARE)
|
||||||
p2 = strrchr(path, '\\');
|
p2 = strrchr(intern->file_name, '\\');
|
||||||
#else
|
#else
|
||||||
p2 = 0;
|
p2 = 0;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue