Add internal APIs for portable path manipulation
authorGreg Hudson <ghudson@mit.edu>
Sun, 7 Aug 2011 01:12:28 +0000 (01:12 +0000)
committerGreg Hudson <ghudson@mit.edu>
Sun, 7 Aug 2011 01:12:28 +0000 (01:12 +0000)
commit62a276e55287a06d66373f02202ab39c7ba74c00
treed164f07b2a965f318d739a356e90835ea6dafd60
parentb0b94b9330fbf671da6c9dcd06d3b07eab4c63c6
Add internal APIs for portable path manipulation

k5_path_split separates a path into dirname and basename.
k5_path_join joins two paths.
k5_path_isabs determines if a path is absolute.

All three functions follow the Python path function semantics.
Currently the test module doesn't run in the Windows build, but the
Windows path semantics are tested in the Unix build using specially
built objects.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25074 dc483132-0cff-0310-8789-dd5450dbe970
src/include/k5-platform.h
src/util/support/Makefile.in
src/util/support/libkrb5support-fixed.exports
src/util/support/path.c [new file with mode: 0644]
src/util/support/t_path.c [new file with mode: 0644]