src/lib/message.c
static const char *bstrrpath(const char *start, const char *end)
{
   while ( end > start ) {
      end--;
      if (IsPathSeparator(*end)) {
         break;
      }
   }
   return end;
}
/*
 * Walk back in a string from end looking for a
 *  path separator.
 *  This routine is passed the start of the string and
 *  the end of the string, it returns either the beginning
 *  of the string or where it found a path separator.
 */
Walk back in a string from end looking for a
path separator.
This routine is passed the start of the string and
the end of the string, it returns either the beginning
of the string or where it found a path separator.
Walk back in a string from end looking for a path separator . This routine is passed the start of the string and the end of the string it returns either the beginning of the string or where it found a path separator .
static const char *bstrrpath(const char *start, const char *end)
{
   while ( end > start ) {
      end--;
      if (IsPathSeparator(*end)) {
         break;
      }
   }
   return end;
}
static const char * bstrrpath ( const char * start , const char * end ) { while ( end > start ) { end -- ; if ( IsPathSeparator ( * end ) ) { break ; } } return end ; }
Walk back in a string from end looking for a
  path separator.
Walk back in a string from end looking for a path separator .