[all-commits] [llvm/llvm-project] 0980f7: [libc][errno] Remove previously added errno number...

Robin Caloudis via All-commits all-commits at lists.llvm.org
Tue May 14 22:26:44 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0980f715cf7c3d78be6ba64e902bd2dfad3ebc75
      https://github.com/llvm/llvm-project/commit/0980f715cf7c3d78be6ba64e902bd2dfad3ebc75
  Author: Robin Caloudis <robin.caloudis at gmx.de>
  Date:   2024-05-15 (Wed, 15 May 2024)

  Changed paths:
    M libc/include/llvm-libc-macros/generic-error-number-macros.h

  Log Message:
  -----------
  [libc][errno] Remove previously added errno numbers (#92163)

Introduced in https://github.com/llvm/llvm-project/pull/91150. Not
needed anymore as https://github.com/llvm/llvm-project/pull/92041 fixed
the root cause. `ENAMETOOLONG` and `EOVERFLOW` are well defined in
`<linux/errno.h>`.

Post mortem: Due to the previously missing inclusion of
`<linux/errno.h>` (fixed with
https://github.com/llvm/llvm-project/pull/92041), I misinterpreted an
undefined macro issue during the development of
https://github.com/llvm/llvm-project/pull/91150 as being caused by a
missing definition rather than by the missing inclusion of the linux
header. I realized too late that `ENAMETOOLONG` and `EOVERFLOW` were
correctly defined in `<linux/errno.h>` and that it was my missing
inclusion that caused the problem.



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