aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.c
diff options
context:
space:
mode:
Diffstat (limited to 'jnlib/stringhelp.c')
-rw-r--r--jnlib/stringhelp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/jnlib/stringhelp.c b/jnlib/stringhelp.c
index b1f6f73db..e7fd0ce45 100644
--- a/jnlib/stringhelp.c
+++ b/jnlib/stringhelp.c
@@ -338,11 +338,14 @@ make_filename( const char *first_part, ... )
}
+/* Compare whether the filenames are identical. This is a
+ specialversion of strcmp() taking the semantics of filenames in
+ account. Note that this function works only on the supplied names
+ without considereing any context like the current directory. See
+ also same_file_p(). */
int
compare_filenames (const char *a, const char *b)
{
- /* ? check whether this is an absolute filename and resolve
- symlinks? */
#ifdef HAVE_DRIVE_LETTERS
for ( ; *a && *b; a++, b++ )
{