** 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(). */
| 5760 | ** other systems, this function simply calls lstat(). |
| 5761 | */ |
| 5762 | static int fileLinkStat( |
| 5763 | const char *zPath, |
| 5764 | struct stat *pStatBuf |
| 5765 | ){ |
| 5766 | #if defined(_WIN32) |
| 5767 | int rc = lstat(zPath, pStatBuf); |
| 5768 | if( rc==0 ) statTimesToUtc(zPath, pStatBuf); |
| 5769 | return rc; |
| 5770 | #else |
| 5771 | return lstat(zPath, pStatBuf); |
| 5772 | #endif |
| 5773 | } |
| 5774 | |
| 5775 | /* |
| 5776 | ** Argument zFile is the name of a file that will be created and/or written |
no test coverage detected