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

Commits:

47acab4 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>
    (cherry picked from commit 6ada7d53899d49f0c173ad241f8e6f5dfee590d9)
    Reviewed-on: https://code.wireshark.org/review/11374
    

Actions performed:

    from  dd4bac5   Do the "create parent of config file directory" stuff on UN*X as well.
    adds  47acab4   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(-)