diff options
author | Werner Koch <[email protected]> | 2007-08-24 09:34:39 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2007-08-24 09:34:39 +0000 |
commit | 503f91e0aea99fe09064e29ec9df1ded1a3bd3c3 (patch) | |
tree | e3dd4b252d6d05a5aa15aea799ab9447ea74ccbd /jnlib/stringhelp.c | |
parent | Add new features to kbxutil. (diff) | |
download | gnupg-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.c | 7 |
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++ ) { |