aboutsummaryrefslogtreecommitdiffstats
path: root/jnlib/stringhelp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2007-08-24 09:34:39 +0000
committerWerner Koch <[email protected]>2007-08-24 09:34:39 +0000
commit503f91e0aea99fe09064e29ec9df1ded1a3bd3c3 (patch)
treee3dd4b252d6d05a5aa15aea799ab9447ea74ccbd /jnlib/stringhelp.c
parentAdd new features to kbxutil. (diff)
downloadgnupg-503f91e0aea99fe09064e29ec9df1ded1a3bd3c3.tar.gz
gnupg-503f91e0aea99fe09064e29ec9df1ded1a3bd3c3.zip
tryu harder to ignore duplicate specified keyrings and -boxes.
Documentation updates.
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++ )
{