dirent: fix filespec_from_dir_path
commitb7df4f8bb37c44f214d56805478984a5fb496137
authorJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 21 Jul 2011 15:40:04 +0000 (21 11:40 -0400)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Thu, 21 Jul 2011 15:40:04 +0000 (21 11:40 -0400)
tree96ef20553e42a6603ea84ec895e11fc73ee89669
parentb8ce309acbad7ec89990c4cd463324778dab1622
dirent: fix filespec_from_dir_path

If the path does not begin with a separator, do not advance
skip the first character in the component referred to by 'comp'.

Change-Id: Ide184ba2065bd8b2075be27b8e1f4cae11026fdd
lib/roken/dirent.c