Hi, It looks like ksh does not do anything when the trackall option is set (or not for that matter). A test script to demonstrate this:
############################################## #!/bin/ksh export PATH=$PATH:.:/tmp $ cat > $HOME/min_script.ksh echo home $ chmod a+x $HOME/min_script.ksh $ touch /tmp/min_script.ksh echo tmp $ chmod a+x /tmp/min_script.ksh set +h cd pwd type min_script.ksh min_script.ksh cd /tmp pwd type min_script.ksh min_script.ksh cd pwd type min_script.ksh min_script.ksh cd / pwd type min_script.ksh min_script.ksh cd pwd type min_script.ksh min_script.ksh ############################################## Both 'type' output and the actual execution are broken since they do not really match at all. None of them look at SH_TRACKALL either. I have attached a patch that implements all this. Please let me know if this is the right direction for the fix or if the code is already behaving as expected. Thanks, Siddhesh -- Siddhesh Poyarekar http://siddhesh.in
ksh-implement-trackall.patch
Description: Binary data
_______________________________________________ ast-developers mailing list [email protected] https://mailman.research.att.com/mailman/listinfo/ast-developers
