[all-commits] [llvm/llvm-project] c80b79: [libc] No need to use recursion in fcntl (#99893)

Mikhail R. Gadelha via All-commits all-commits at lists.llvm.org
Mon Jul 22 09:41:09 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c80b799e90c6279ced025c44b9177c6e5f0f2ada
      https://github.com/llvm/llvm-project/commit/c80b799e90c6279ced025c44b9177c6e5f0f2ada
  Author: Mikhail R. Gadelha <mikhail at igalia.com>
  Date:   2024-07-22 (Mon, 22 Jul 2024)

  Changed paths:
    M libc/src/__support/OSUtil/linux/fcntl.cpp

  Log Message:
  -----------
  [libc] No need to use recursion in fcntl (#99893)

This patch removes the recursion in fcntl introduced by PR #99675 as it is not required and may be dangerous in some cases: some toolchains define F_GETLK == F_GETLK64 causing infinite recursion.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list