Tcl Source Code

Check-in [990679a4a2]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Open linked folder shared on Windows - Patch [19ea026e43]
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 990679a4a2e79d885a899e7caa1bb508fb17ce04
User & Date: oehhar 2015-04-23 12:17:53.367
References
2015-04-23
12:21 Closed ticket [19ea026e43]: parallell 'source'ing files from linked directory fails randomly plus 7 other changes artifact: 53b4ef7d52 user: oehhar
Context
2015-04-24
15:48
Fix UtfToUtfProc() to remove the potential to read beyond end of input buffer. check-in: 727d74f76d user: dgp tags: trunk
2015-04-23
12:17
Open linked folder shared on Windows - Patch [19ea026e43] check-in: 990679a4a2 user: oehhar tags: trunk
11:21
Open linked folder shared on Windows - Patch [19ea026e43] check-in: 7d39fa6f82 user: oehhar tags: core-8-5-branch
2015-04-20
10:35
Fix [8065d17822]: Duplicate -DNDEBUG in compiler command wi... check-in: 0a2e3bb2d9 user: jan.nijtmans tags: trunk
Changes
Unified Diff Ignore Whitespace Patch
Changes to win/tclWinFile.c.
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
    const TCHAR *linkDirPath,	/* The junction to read */
    REPARSE_DATA_BUFFER *buffer,/* Pointer to buffer. Cannot be NULL */
    DWORD desiredAccess)
{
    HANDLE hFile;
    DWORD returnedLength;

    hFile = CreateFile(linkDirPath, desiredAccess, 0, NULL, OPEN_EXISTING,
	    FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, NULL);

    if (hFile == INVALID_HANDLE_VALUE) {
	/*
	 * Error creating directory.
	 */








|







664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
    const TCHAR *linkDirPath,	/* The junction to read */
    REPARSE_DATA_BUFFER *buffer,/* Pointer to buffer. Cannot be NULL */
    DWORD desiredAccess)
{
    HANDLE hFile;
    DWORD returnedLength;

    hFile = CreateFile(linkDirPath, desiredAccess, FILE_SHARE_READ, NULL, OPEN_EXISTING,
	    FILE_FLAG_OPEN_REPARSE_POINT | FILE_FLAG_BACKUP_SEMANTICS, NULL);

    if (hFile == INVALID_HANDLE_VALUE) {
	/*
	 * Error creating directory.
	 */