Add a new routine to create the ".ethereal" directory for a user.
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Oct 2001 05:01:02 +0000 (05:01 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Tue, 23 Oct 2001 05:01:02 +0000 (05:01 +0000)
commit4da81b99c3d1096c67b26e0d6f7a4f6557717655
tree6b6ced95b0d95cc2f7243f2ff7546552b12f4dfa
parentaedae5e4abbc93cc5945b1c448a4c1ce26ac9479
Add a new routine to create the ".ethereal" directory for a user.

Use that routine rather than duplicating that code in the routines to
write out the preference file and filter files.

Use it in the code for the color filter dialog, so that the directory in
question is created if necessary.

As that routine returns an error indication, have the code that calls
that routine put up a message box if the attempt fails.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@4065 f5534014-38df-0310-8fa8-9805f1628bb7
epan/filesystem.c
epan/filesystem.h
filters.c
gtk/colors.c
gtk/filter_prefs.c
gtk/prefs_dlg.c
prefs.c