aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/stdio/vasniprintf.c
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2025-08-04 20:45:38 +0200
committerCorinna Vinschen <corinna@vinschen.de>2025-08-04 20:51:03 +0200
commit63f8b31bf51cae9bd948702ae1ed7e0118fdd211 (patch)
treeb6bdc31780c42fe5f2ce4e1e7502ff86755f3320 /newlib/libc/stdio/vasniprintf.c
parent64ac73901d7261999765edcb6b68db6c0d30b513 (diff)
downloadnewlib-63f8b31bf51cae9bd948702ae1ed7e0118fdd211.zip
newlib-63f8b31bf51cae9bd948702ae1ed7e0118fdd211.tar.gz
newlib-63f8b31bf51cae9bd948702ae1ed7e0118fdd211.tar.bz2
Cygwin: file locking: always use and expect explicit lock variant
So far, not setting a lock variant (F_POSIX/F_FLOCK) defaulted to F_POSIX locks. Adding OFD locks in a followup patch may lead to confusion, so make sure that the lock variant is always set in the calling functions (fcntl, flock, lockf). Bail out with EINVAL if no lock variant is set. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'newlib/libc/stdio/vasniprintf.c')
0 files changed, 0 insertions, 0 deletions