This patch provides implementations of the dirname and
basename functions, suitable for inclusion in libmingwex.a.
Conforming generally to SUSv3, these implementations
have been extended to accommodate peculiarities of the
Win32 path naming conventions, viz. handling of drive
prefixes, and the use of slash and backslash as
alternative directory separator characters.
Included in the attached patch tarball:--
- Changes.txt: a ChangeLog entry.
- libgen.patch: the patch file; it has been generated
against the runtime module of MinGW CVS, as of 2005-06-23.
- dirname.cat.bz2: a preformatted manpage, specific to
this implementation of the dirname and basename
functions; it may be viewed by "bzip2 -c -d
dirname.cat.bz2 | less -is".
- testcase.c: a test program for evaluating the
behaviour of the dirname and basename functions.