The webrev below contains the changes required to fix CR#6271923 according to PSARC/2009/332. If someone who is faimilar with setproject.c could comment on those changes, that would be wonderful.
http://cr.opensolaris.org/~darrenr/6271923-20090611/ Thanks, Darren