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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 understand why./

No need to make that statement a part of the git history.

Sometimes coccinelle (the semantic patching software)
can't understand a function or a file, so it leaves it alone.

Jano

Fixed by hand afterwards.

Signed-off-by: Michal Privoznik <mprivozn@xxxxxxxxxx>
---

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux