Patch from Scott McKellar to improve const-correctness in srfsh: