aboutsummaryrefslogtreecommitdiffstats
path: root/packet-v120.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2000-01-29 19:06:59 +0000
committerGuy Harris <guy@alum.mit.edu>2000-01-29 19:06:59 +0000
commitf292c583bfb68bf1db2f7463ba7f6304dabc5f07 (patch)
treedb3a5389da8e7e28d1f0e76b7ab930dfa15d2400 /packet-v120.c
parentea8136cd8e70da00e46ae281f14e089bd920919c (diff)
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. svn path=/trunk/; revision=1580
Diffstat (limited to 'packet-v120.c')
0 files changed, 0 insertions, 0 deletions