diff options
author | Guy Harris <guy@alum.mit.edu> | 2006-02-08 03:25:22 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2006-02-08 03:25:22 +0000 |
commit | 6382f1d4bbf17cc95e4a664cd53a5fb87e751301 (patch) | |
tree | 888ac15944a2497602d2aed9d17e043f4b9af9ee /epan | |
parent | 4d86160203ffa892aee2c6b64fd948d7a15a655f (diff) |
Fix up some comments.
svn path=/trunk/; revision=17214
Diffstat (limited to 'epan')
-rw-r--r-- | epan/filesystem.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/epan/filesystem.c b/epan/filesystem.c index 3acc140537..9f4a34f17d 100644 --- a/epan/filesystem.c +++ b/epan/filesystem.c @@ -791,20 +791,22 @@ gboolean files_identical(const char *fname1, const char *fname2) { /* Two different implementations, because: - * - _fullpath is not available on unix - * - the stat inode will not work as expected on Win32, - * so two different implementations. * - * XXX - will _fullpath work with UNC? + * - _fullpath is not available on UN*X, so we can't get full + * paths and compare them (which wouldn't work with hard links + * in any case); + * + * - st_ino isn't filled in with a meaningful value on Windows. */ #ifdef _WIN32 char full1[MAX_PATH], full2[MAX_PATH]; /* * Get the absolute full paths of the file and compare them. - * That won't work if you have hard links, which aren't + * That won't work if you have hard links, but those aren't * much used on Windows, even though NTFS supports them. - * We can't use st_ino on Windows, as it's not supported on FAT. + * + * XXX - will _fullpath work with UNC? */ if( _fullpath( full1, fname1, MAX_PATH ) == NULL ) { return FALSE; |