http://bugzilla.openwatcom.org/show_bug.cgi?id=1103
------- Comment #3 from
pspe...@earthlink.net 2012-02-01 09:25 PST8PDT -------
FWIW the wgml project file "findfile" contains a function,
"initialize_directory_list()" that preprocesses an environment variable into an
array of paths inside a struct which also contains the number of paths.
Searching the paths is just a matter of iterating through the list.
This was developed to avoid reparsing the environment variables on each and
every search for a file. It may or may not be something worth adapting to wasm.