• use getcwd() to obtain current working directory instead of getenv('PWD') (which was a workaround for a getwd() bug, but ksh does not set PWD). Changed: U trunk/Support/bin/mate