Wireshark-commits: [Wireshark-commits] rev 21866: /trunk/ /trunk/epan/: filesystem.c /trunk/gtk/: m

Date: Mon, 21 May 2007 20:31:48 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21866

User: guy
Date: 2007/05/21 08:31 PM

Log:
 Have init_progfile_dir() also check whether
 WIRESHARK_RUN_FROM_BUILD_DIRECTORY is set and, if so and we weren't run
 with special privileges, set the running_in_build_directory_flag.  Have
 it do the same if it finds ".libs" in the pathname of the program and we
 weren't run with special privileges, as that means it was probably run
 from the libtool wrapper script and presumably thus isn't an installed
 binary.
 
 This means that get_credential_info() has to be called before
 init_progfile_dir().
 
 Clean up some indentation.

Directory: /trunk/epan/
  Changes    Path            Action
  +51 -31    filesystem.c    Modified

Directory: /trunk/gtk/
  Changes    Path          Action
  +7 -7      main.c        Modified

Directory: /trunk/
  Changes    Path          Action
  +4 -4      dftest.c      Modified
  +5 -5      tshark.c      Modified