On Thursday, 2 January 2020 15:53:52 CET Daniel P. Berrangé wrote:
> The canonicalize_file_name(path) is equivalent to calling
> realpath(path, NULL). Passing NULL for the second arg of
> realpath is not standardized behaviour, however, Linux,
> FreeBSD > 6.4 and macOS > 10.5 all support this critical
> extension.

This is not correct: POSIX.1-2008 standardizes null as possible value
for the second argument; see:
https://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html

-- 
Pino Toscano

Attachment: signature.asc
Description: This is a digitally signed message part.

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to