Re: [PATCH 2/9] virstring: Introduce virStringIsNull()

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

 



On 7/3/20 2:08 PM, Ján Tomko wrote:
On a Friday in 2020, Michal Privoznik wrote:
This function will be used to detect zero buffers (which are
going to be interpreted as hole in virStream later).

I shamelessly took inspiration from coreutils.


How is that okay, isn't coreutils GPL-licensed?

Well, I only took inspiration in that code, I haven't copied it.
But this idea of using memcmp() is quite old and described for instance in this blog post too:

https://rusty.ozlabs.org/?p=560

Do you want to switch to something else instead? If so, how can we make sure it's not already somewhere in a code with incompatible license?

Michal




[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