diff options
| author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-05 14:12:48 (GMT) |
|---|---|---|
| committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2016-09-05 14:12:48 (GMT) |
| commit | d35a5023da2f2221f48458a5e64fcee90f234d91 (patch) | |
| tree | bd184725efaa3f52ca380c7c46cc6c2bd81c3165 /win/tclWinFile.c | |
| parent | 6f860bc18d7bc3154d11ac863b4ebc1612dff554 (diff) | |
| parent | cf8c1e7bdc508039a61423810bd40fd90482b885 (diff) | |
| download | tcl-d35a5023da2f2221f48458a5e64fcee90f234d91.zip tcl-d35a5023da2f2221f48458a5e64fcee90f234d91.tar.gz tcl-d35a5023da2f2221f48458a5e64fcee90f234d91.tar.bz2 | |
merge core-8-6-branch
Diffstat (limited to 'win/tclWinFile.c')
| -rwxr-xr-x | win/tclWinFile.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c index 4d7500b..6662327 100755 --- a/win/tclWinFile.c +++ b/win/tclWinFile.c @@ -3166,8 +3166,8 @@ TclWinFileOwned( case we are in all likelihood not the owner */ return 0; } - - /* + + /* * Getting the current process SID is a multi-step process. * We make the assumption that if a call fails, this process is * so underprivileged it could not possibly own anything. Normally @@ -3191,10 +3191,10 @@ TclWinFileOwned( LocalFree(secd); /* Also frees ownerSid */ if (buf) ckfree(buf); - + return (owned != 0); /* Convert non-0 to 1 */ } - + /* * Local Variables: * mode: c |
