Tcl Source Code

View Ticket
Login
Ticket UUID: 2882342
Title: correct struct _REPARSE_DATA_BUFFER in tcl 8.4
Type: Bug Created on: 2009-10-20 13:21:05
Submitter: evilmike Assigned to: nijtmans
Subsystem: 37. File System Severity:
Priority: 5 Medium Last modified: 2013-01-09 22:44:06
Status: Closed Closed by: nijtmans
Resolution: Fixed Closed on: 2013-01-09 15:44:06
Version: obsolete: 8.4.19
Description:
Hi,

it would be very nice if one could apply this patch also to the 8.4 core branch
http://tcl.cvs.sourceforge.net/viewvc/tcl/tcl/win/tclWinFile.c?view=diff&r1=1.95&r2=1.96

the problem:
8.4 uses wrong Vista part of union under XP SymbolicLinkReparseBuffer but should use MountPointReparseBuffer.
The definition of _REPARSE_DATA_BUFFER is also wrong, missing ULONG Flags in SymbolicLinkReparseBuffer.
Problem occurs if compiler (e.g. newer mingw) defines the correct struct itself.
User Comments:
dgp added on 2009-10-20 22:50:34:
kbk, this was your commit.  Do you know of any reason
a backport to 8.4 should be rejected?

mike, why not just use release 8.5.3 or later, where things
are already fixed?

kennykb added on 2009-10-21 06:53:14:
No problem with backporting, Sorry that I missed it.

It should be Mostly Harmless to backport 1.97 and 1.98 as well.

Might be a few days before I get to it; I hope that there isn't a rush to make 8.4.20.

evilmike added on 2009-10-21 21:02:50:
I am already using 8.5. but there is a thirparty tool using 8.4 which I can not upgrade. I thought its easier to ask here for this little change and others could benefit as well.

dgp added on 2009-10-21 22:02:06:
no rush at all.  Current thinking is that 8.4.20
will be released shortly after 8.6.0.  And that
will be the end of 8.4 releases.

nijtmans added on 2013-01-09 22:44:06:

allow_comments - 1

Backported now.