src/stdlib/path.c
/*=================================
 * path_cmp -- compare two paths as appropriate
 *  handle WIN32 filename case insensitivity
 *===============================*/
- compare two paths as appropriate
handle WIN32 filename case insensitivity
- compare two paths as appropriate handle WIN32 filename case insensitivity
INT
path_cmp (CNSTRING path1, CNSTRING path2)
{
#ifdef WIN32
	return _stricoll(path1, path2);
#else
#ifdef HAVE_STRCOLL_H
	return strcoll(path1, path2);
#else
	return strcmp(path1, path2);
#endif
#endif
}
INT path_cmp ( CNSTRING path1 , CNSTRING path2 ) { #ifdef WIN32 return _stricoll ( path1 , path2 ) ; #else #ifdef HAVE_STRCOLL_H return strcoll ( path1 , path2 ) ; #else return strcmp ( path1 , path2 ) ; #endif #endif }
path_cmp -- compare two paths as appropriate
  handle WIN32 filename case insensitivity
path_cmp -- compare two paths as appropriate handle WIN32 filename case insensitivity
/* Special case for Win32, which needs case-insensitive */ /* We use direct RTL calls, because paths are not in
internal codeset, they are in system codeset */