Re: [PATCH 3/4] lib: Replace virFileMakePath() with g_mkdir_with_parents()

2021-03-04 Thread Ján Tomko
On a Monday in 2021, Michal Privoznik wrote: Generated using the following spatch: @@ expression path; @@ - virFileMakePath(path) + g_mkdir_with_parents(path, 0777) However, 14 occurrences were not replaced, e.g. in virHostdevManagerNew(). I don't really understand why. d/I don't really

[PATCH 3/4] lib: Replace virFileMakePath() with g_mkdir_with_parents()

2021-03-01 Thread Michal Privoznik
Generated using the following spatch: @@ expression path; @@ - virFileMakePath(path) + g_mkdir_with_parents(path, 0777) However, 14 occurrences were not replaced, e.g. in virHostdevManagerNew(). I don't really understand why. Fixed by hand afterwards. Signed-off-by: Michal Privoznik