small port fixes for fbsd4 and solaris
Authored by: dockes 2006-04-03
Parent(s): [028983]
Child(ren): [018092]