HomeFreeBSD

Clean up use of basename() and dirname().

Description

Clean up use of basename() and dirname().

Pull copies of the input pathname string before calling basename() and
dirname() to make this comply to POSIX. Free these copies at the end of
this function. While there, remove the duplication of the 's' ->
'logfname' string. There is no need for this.

Details

Provenance
edAuthored on
Parents
rS303448: Do not delegate a work to geom event thread which can be done inline.
Branches
Unknown
Tags
Unknown