UN*X pathnames + PL/I's comment syntax = surprises. Yay C++ (and C99).
authorGuy Harris <guy@alum.mit.edu>
Wed, 14 Aug 2013 00:37:14 +0000 (00:37 -0000)
committerGuy Harris <guy@alum.mit.edu>
Wed, 14 Aug 2013 00:37:14 +0000 (00:37 -0000)
svn path=/trunk/; revision=51347

epan/filesystem.c

index 72f038e4f237797a82c522a77fef580b791c7a3d..5b6e1ca9278d01e42bce2535682340bf177eed12 100644 (file)
@@ -463,7 +463,7 @@ get_executable_path(void)
 #elif (defined(sun) || defined(__sun)) && defined(HAVE_GETEXECNAME)
     /*
      * It appears that getexecname() dates back to at least Solaris 8,
-     * but /proc/*/path is first documented in the Solaris 10 documentation,
+     * but /proc/{pid}/path is first documented in the Solaris 10 documentation,
      * so we use getexecname() if available, rather than /proc/self/path/a.out
      * (which isn't documented, but appears to be a symlink to the
      * executable image file).