mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
- Whitespace fixes
This commit is contained in:
parent
da56457eec
commit
f35f5f56c4
2 changed files with 7 additions and 7 deletions
|
@ -84,11 +84,12 @@ TSRM_API void tsrm_win32_shutdown(void)
|
|||
TSRM_API int tsrm_win32_access(const char *pathname, int mode)
|
||||
{
|
||||
SHFILEINFO sfi;
|
||||
if (mode == 1 /*X_OK*/)
|
||||
return access(pathname, 0)==0 &&
|
||||
SHGetFileInfo(pathname,0,&sfi,sizeof(SHFILEINFO),SHGFI_EXETYPE)!=0?0:-1;
|
||||
else
|
||||
if (mode == 1 /*X_OK*/) {
|
||||
return access(pathname, 0) == 0 &&
|
||||
SHGetFileInfo(pathname, 0, &sfi, sizeof(SHFILEINFO), SHGFI_EXETYPE) != 0 ? 0 : -1;
|
||||
} else {
|
||||
return access(pathname, mode);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
@ -370,4 +371,4 @@ TSRM_API int shmctl(int key, int cmd, struct shmid_ds *buf) {
|
|||
return -1;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
#endif
|
||||
|
|
|
@ -275,8 +275,7 @@ static void php_mssql_init_globals(zend_mssql_globals *mssql_globals)
|
|||
} else {
|
||||
mssql_globals->get_column_content = php_mssql_get_column_content_with_type;
|
||||
}
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
mssql_globals->get_column_content = php_mssql_get_column_content_with_type;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue