Wireshark-commits: [Wireshark-commits] master 6ada7d5: Just use g_mkdir_with_parents() to make the
From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 28 Oct 2015 23:07:17 +0000 (UTC)
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=6ada7d53899d49f0c173ad241f8e6f5dfee590d9
Submitter: Guy Harris (guy@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark

Commits:

6ada7d5 by Guy Harris (guy@xxxxxxxxxxxx):

    Just use g_mkdir_with_parents() to make the .config directory on UN*X.
    
    It will create all the relevant directories (if it can), using
    g_mkdir(), which is a wrapper for mkdir() on UN*X - just as ws_mkdir()
    is, so we don't need to make our own copy that uses ws_mkdir.
    
    Bug: 11645
    Change-Id: I68affc6fabccf58dace75af078d9bfd67a1b47b2
    Reviewed-on: https://code.wireshark.org/review/11373
    Reviewed-by: Guy Harris <guy@xxxxxxxxxxxx>
    

Actions performed:

    from  0f8e32c   Do the "create parent of config file directory" stuff on UN*X as well.
    adds  6ada7d5   Just use g_mkdir_with_parents() to make the .config directory on UN*X.


Summary of changes:
 wsutil/filesystem.c |   19 +++++++++++--------
 1 file changed, 11 insertions(+), 8 deletions(-)