diff options
| author | hobbs <hobbs> | 2005-10-05 00:38:04 (GMT) |
|---|---|---|
| committer | hobbs <hobbs> | 2005-10-05 00:38:04 (GMT) |
| commit | f5d0af7da2bc7976b56f0a95bf6725fe0c2b5c86 (patch) | |
| tree | dd2a4e9a300308258caa39245ed723bb95d8cdb4 | |
| parent | e0c6f0d18a6ee5de74a57a988a02cd9ab2c4b11b (diff) | |
| download | tcl-f5d0af7da2bc7976b56f0a95bf6725fe0c2b5c86.zip tcl-f5d0af7da2bc7976b56f0a95bf6725fe0c2b5c86.tar.gz tcl-f5d0af7da2bc7976b56f0a95bf6725fe0c2b5c86.tar.bz2 | |
* tests/winFile.test (getuser): allow valid Windows usernames.
[Bug 1311285]
| -rw-r--r-- | ChangeLog | 7 | ||||
| -rw-r--r-- | tests/winFile.test | 4 |
2 files changed, 7 insertions, 4 deletions
@@ -1,5 +1,8 @@ 2005-10-04 Jeff Hobbs <jeffh@ActiveState.com> + * tests/winFile.test (getuser): allow valid Windows usernames. + [Bug 1311285] + * generic/tclParse.c (Tcl_ParseCommand): add code that recognizes {} in addition to {expand} for word expansion (make with -DALLOW_EMPTY_EXPAND). @@ -25,8 +28,8 @@ 2005-09-30 Don Porter <dgp@users.sourceforge.net> - * generic/tclMain.c: Separate encoding conversion of command line - arguments from list formatting. [Bug 1306162]. + * generic/tclMain.c: Separate encoding conversion of command line + arguments from list formatting. [Bug 1306162]. 2005-09-29 Jeff Hobbs <jeffh@ActiveState.com> diff --git a/tests/winFile.test b/tests/winFile.test index ffbb776..b8837db 100644 --- a/tests/winFile.test +++ b/tests/winFile.test @@ -10,7 +10,7 @@ # See the file "license.terms" for information on usage and redistribution # of this file, and for a DISCLAIMER OF ALL WARRANTIES. # -# RCS: @(#) $Id: winFile.test,v 1.16 2004/11/08 19:19:27 davygrvy Exp $ +# RCS: @(#) $Id: winFile.test,v 1.17 2005/10/05 00:38:05 hobbs Exp $ if {[catch {package require tcltest 2.0.2}]} { puts stderr "Skipping tests in [info script]. tcltest 2.0.2 required." @@ -112,7 +112,7 @@ proc getuser {fname} { if {[string match -nocase "* $tail" $line]} { set attrs [string range $line \ 0 end-[string length $tail]] - regexp { [A-Z]+\\.*$} $attrs owner + regexp { [^ \\]+\\.*$} $attrs owner set owner [string trim $owner] } } |
