Tcl Source Code

View Ticket
Login
Ticket UUID: 219147
Title: glob ~<username> fails in a WIndows NT domain
Type: RFE Created on: 2000-10-26 05:02:19
Submitter: nobody Assigned to: kennykb
Subsystem: 37. File System Severity:
Priority: 3 Low Last modified: 2026-11-13 11:18:43
Status: Closed Closed by: serhiy.storchaka
Resolution: Fixed Closed on: 2026-11-13 11:18:43
Version: None
Description:
OriginalBugID: 896 Bug
Version: 8.0.4
SubmitDate: '1998-12-03'
LastModified: '1998-12-03'
Severity: MED
Status: Assigned
Submitter: stanton
ChangedBy: stanton
OS: Windows NT
OSVersion: NA
Machine: NA
FixedDate: '2000-10-25'
FixedInVersion: NA
ClosedDate: '2000-10-25'


Test winFile-1.2 fails under Windows NT when running in a domain.

Any ~user access fails.
User Comments:
vincentdarley added on 2001-09-04 20:00:49:
Logged In: YES 
user_id=32170

Verified in Win2000 with 8.4a4.  The function to fix is 
TclpGetUserHome in tclWinFile.c.  I have no idea how to fix 
it, so am unassigning it from myself.

andreas_kupries added on 2001-09-08 06:05:41:
Logged In: YES 
user_id=75003

Reassigned to someone having Win* knowledge.

davygrvy added on 2001-09-08 06:26:54:
Logged In: YES 
user_id=7549

I can't look at this right now.  I'm trying to distance 
myself from the core source code.  Lately, I would much 
rather be a user of the API, than sucked into the void.

It does have an overwelming charm, if I have to admit.

dgp added on 2002-07-06 03:57:14:
Logged In: YES 
user_id=80530


This fell through the cracks.

Can you help?

jenglish added on 2002-07-06 22:09:53:
Logged In: YES 
user_id=68433

Vincent Darley notes:
"This is really a FR request since Tcl is documented only to handle '~' not '~user' on Windows."

Changing from 'Bug' to 'FR', lowering the priority.  Still need to find a developer who knows something about NT domains (neither Vincent nor I do).

serhiy.storchaka added on 2026-11-13 11:18:43:

TclpGetUserHome looks up domain users (also ~user@domain) since Tcl 8.6.9, fixed in [9e6b569963]. Tcl 9 no longer expands ~ in file names at all (TIP 602).