mirror of
https://github.com/postgres/postgres.git
synced 2025-07-28 23:42:10 +03:00
Post-PG 10 beta1 pgindent run
perltidy run not included.
This commit is contained in:
@ -376,11 +376,11 @@ pgwin32_safestat(const char *path, struct stat * buf)
|
||||
if (GetLastError() == ERROR_DELETE_PENDING)
|
||||
{
|
||||
/*
|
||||
* File has been deleted, but is not gone from the filesystem
|
||||
* yet. This can happen when some process with FILE_SHARE_DELETE
|
||||
* has it open and it will be fully removed once that handle
|
||||
* is closed. Meanwhile, we can't open it, so indicate that
|
||||
* the file just doesn't exist.
|
||||
* File has been deleted, but is not gone from the filesystem yet.
|
||||
* This can happen when some process with FILE_SHARE_DELETE has it
|
||||
* open and it will be fully removed once that handle is closed.
|
||||
* Meanwhile, we can't open it, so indicate that the file just
|
||||
* doesn't exist.
|
||||
*/
|
||||
errno = ENOENT;
|
||||
return -1;
|
||||
|
Reference in New Issue
Block a user