** This function is used in place of lstat(). On Windows, special handling ** is required in order for the included time to be returned as UTC. On all ** other systems, this function simply calls lstat(). */
| 2396 | ** other systems, this function simply calls lstat(). |
| 2397 | */ |
| 2398 | static int fileLinkStat( |
| 2399 | const char *zPath, |
| 2400 | struct stat *pStatBuf |
| 2401 | ){ |
| 2402 | #if defined(_WIN32) |
| 2403 | int rc = lstat(zPath, pStatBuf); |
| 2404 | if( rc==0 ) statTimesToUtc(zPath, pStatBuf); |
| 2405 | return rc; |
| 2406 | #else |
| 2407 | return lstat(zPath, pStatBuf); |
| 2408 | #endif |
| 2409 | } |
| 2410 | |
| 2411 | /* |
| 2412 | ** Argument zFile is the name of a file that will be created and/or written |
no test coverage detected