[win32] set file mtime fails on directories
Closed / Fixed1420432fffffffffffffffffffffffffffffffffCreated 21 years agoUpdated 20 years ago
Descriptionplain2006-01-31 12:28:08
OS: Win32, Windows XP SP2
Problem:
When using [file mtime {directory name} {new mtime}]
command fails with "permission denied" error.
Expected:
Directory mtime changed successfully
Possible fix:
file /win/tclWinFile.c, function TclpUtime
FILE_FLAG_BACKUP_SEMANTICS should be used instead of
FILE_ATTRIBUTE_NORMAL to successfully open directories.
patthoytsplain2006-10-01 20:06:22
Logged In: YES user_id=202636 Good suggestion. Fixed in HEAD.
patthoytsplain2006-10-01 20:12:41
Logged In: YES user_id=202636 Backported to 8.4
Log in (anonymous is fine) to add a comment.