]> git.ipfire.org Git - thirdparty/open-vm-tools.git/commit
Define Posix_Printf/Posix_Fprint for FreeBSD
authorKruti Pendharkar <kp025370@broadcom.com>
Fri, 11 Jul 2025 12:48:15 +0000 (05:48 -0700)
committerKruti Pendharkar <kp025370@broadcom.com>
Fri, 11 Jul 2025 12:48:15 +0000 (05:48 -0700)
commit9f1325ef4e09ca5064aa03336f9729f4ee76d9bb
tree4537c3c6b7849f35ff0c2782b39eea3b00705e99
parentce1da35446b0409763fd84f2eaefeac675e15092
Define Posix_Printf/Posix_Fprint for FreeBSD

A previous change to lib/misc/posixPosix.c introduced the
`Posix_Printf` and `Posix_Fprintf` implementations only for non-Solaris,
non-Apple, and non-FreeBSD builds. (Note that this set of
conditions is inconsistent with when `posix.h` aliases them
(and various other functions) to their standard POSIX
counterparts.)

Moving the `Posix_Printf`/`Posix_Fprintf` implementations out
of the `#if` sections so that they're always available.
open-vm-tools/lib/include/posix.h
open-vm-tools/lib/misc/posixPosix.c