From: SourceForge.net <no...@so...> - 2006-11-28 17:54:45
|
Bugs item #1602539, was opened at 2006-11-24 19:53 Message generated for change (Comment added) made by dgp You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1602539&group_id=10894 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: 36. File System Group: development: 8.5a6 Status: Open Resolution: None Priority: 8 Private: No Submitted By: Andy Goth (andygoth) Assigned to: Vince Darley (vincentdarley) Summary: [glob] adds stray NUL to end of mounted VFS directory names Initial Comment: % binary scan [glob -type d tclkit] c* out; set out 116 99 108 107 105 116 % binary scan [glob -type d *] c* out; set out 116 99 108 107 105 116 0 On Windows this has the effect of truncating the string if passed to puts. I haven't seen this in Linux. % puts <[glob -type d *]> <tclkit.exe% (the % is the next prompt; the newline never printed) ---------------------------------------------------------------------- >Comment By: Don Porter (dgp) Date: 2006-11-28 12:54 Message: Logged In: YES user_id=80530 Originator: NO looks like I'm on the trail of a different (possibly related) bug then. When I know more I'll open a separate report. ---------------------------------------------------------------------- Comment By: Jeffrey Hobbs (hobbs) Date: 2006-11-28 12:51 Message: Logged In: YES user_id=72656 Originator: NO It repros for me in 8.5 head, but not 8.4.14 head. ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2006-11-28 09:57 Message: Logged In: YES user_id=80530 Originator: NO Is this flaw seen only in the 8.5 development sources, or is it present in 8.4.14 as well? ---------------------------------------------------------------------- Comment By: Don Porter (dgp) Date: 2006-11-27 10:31 Message: Logged In: YES user_id=80530 Originator: NO I tried to duplicate this with trofs to gather more data, and [glob -type d $pattern] doesn't work at all with it. Don't know yet where that places the flaw(s). ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=110894&aid=1602539&group_id=10894 |