From 503f91e0aea99fe09064e29ec9df1ded1a3bd3c3 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Fri, 24 Aug 2007 09:34:39 +0000 Subject: tryu harder to ignore duplicate specified keyrings and -boxes. Documentation updates. --- jnlib/stringhelp.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'jnlib/stringhelp.c') 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++ ) { -- cgit v1.2.3