diff options
author | 2014-06-20 01:20:55 +0000 | |
---|---|---|
committer | 2014-06-20 01:20:55 +0000 | |
commit | fbc96d89d9d3b122b1baae6e3f140dc6e3221cfe (patch) | |
tree | 402d133f57a9b04ee40b1ac1f52f3b9c80ac44a0 /usr.sbin/tcpdump/interface.h | |
parent | arc4random: hard fail with raise(SIGKILL) if getentropy() returns -1 (diff) | |
download | wireguard-openbsd-fbc96d89d9d3b122b1baae6e3f140dc6e3221cfe.tar.xz wireguard-openbsd-fbc96d89d9d3b122b1baae6e3f140dc6e3221cfe.zip |
More tweaking of set_basedir().
1) Do not error out when getcwd(3) fails, only fail when inaccessibility
of the cwd prevents processing of relative paths given on the command line.
2) Do not uselessly call set_basedir() twice in a row.
While fts_read(3) in treescan() does cause the cwd to jump around,
fts_close(3) is always called at the end, putting us back
where we came from. The -d/-u fallback code already relied on this.
3) Fix the man-root-dir indicator in say().
Diffstat (limited to 'usr.sbin/tcpdump/interface.h')
0 files changed, 0 insertions, 0 deletions