fixed a bug in rcsetup, see bug 1845057
Authored by: dsdale 2007-12-06
Parent: [r4646]
Child: [r4648]