Wireshark-dev: [Wireshark-dev] How can you determine the current working directory????
From: Alex Lindberg <[email protected]>
Date: Tue, 13 Nov 2007 13:47:24 -0600
I would like to determine the current working
directory from addr_resolv.c.

I have tried various functions from filesystem.c/h
without any luck.

As an example get_persdatafile_dir() in addr_resolv.c
returns an empty string.

I have also tried to use get_last_open_dir() from
gtk/file_dlg.c.  By including <gtk/gtk.h> and
<gtk/file_dlg.h> it would compile but it would not

There must be an easer way.

Any ideas?