From Newsgroup: comp.lang.tcl
On 26/05/2025 12:33, alexandru wrote:
I have this weird problem with "glob" command, which returns empty list during application startup but works as expected afterwards.
The command is:
set paths [glob -nocomplain -types f -dir $homedir -- {*.materials}]
and homedir ist C:/Users/Public on Windows OS.
The command is so basic, I have no idea were to start debugging.
Any saving ideas?
Many thanks
Alexandru
--
I have no constructive suggestions, except to ask if you are REALLY SURE
that this is what's failing? Whenever I come across something like this
that is so basic it can't possibly be going wrong, it generally turns
out that it isn't going wrong and the fault is elsewhere.
I take it that you have confirmed that homedir is set to what you expect before executing the command you quote and that paths is set to
something you don't expect after executing it.
Other than the above, I can only offer sympathy and best wishes.
Alan
--- Synchronet 3.21a-Linux NewsLink 1.2