]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
lib/file: Reduce the create directory spam
authorOliver Kurth <okurth@vmware.com>
Tue, 24 Oct 2017 21:07:33 +0000 (14:07 -0700)
committerOliver Kurth <okurth@vmware.com>
Tue, 24 Oct 2017 21:07:33 +0000 (14:07 -0700)
commitb88ff280ea0ea778ef9a4e422129bbf66291be73
tree1834a854d86fd4abc45ccd3e12ef3fcead0b816e
parent8bdee4f53760e3a63a890653a0960c09b9258db9
lib/file: Reduce the create directory spam

The lib/file primitives (e.g. create file, create directory) may fail -
but they also return errno/GetLastError. The caller should inspect a
failure and decide what to do (or log). The lib/file primitives should
not log. The client should do that. The primitives are the high
performance path and failure isn't necessarily a failure, only the
client can decide.

The lib/file primitives (e.g. create file, create directory) may fail -
but they also return errno/GetLastError. The caller should inspect a
failure and decide what to do (or log). The lib/file primitives should
not log. The client should do that. The primitives are the high
performance path and failure isn't necessarily a failure, only the
client can decide.
open-vm-tools/lib/file/file.c