Ethereal-cvs: [ethereal-cvs] cvs commit: ethereal util.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Guy Harris <guy@xxxxxxxxxxxx>
Date: Sat, 29 Jan 2000 13:07:11 -0600 (CST)
guy         2000/01/29 13:07:07 CST

  Modified files:
    .                    util.c 
  Log:
  Don't put "get_home_dir()" inside #ifdef HAVE_LIBPCAP/#endif.
  
  On UNIX, if "$HOME" isn't set, try getting the user ID and the password
  entry for that user ID, and, if that succeeds, get the home directory
  from the password entry, otherwise use "/tmp".  On NT, it may be
  possible to do something similar (get the user name, and append that to
  "C:\winnt\profiles\"); I'm not sure whether there's anything that can be
  done on Windows 9x.
  
  Revision  Changes    Path
  1.32      +26 -10    ethereal/util.c