Skip to content

Commit 0980f71

Browse files
[libc][errno] Remove previously added errno numbers (#92163)
Introduced in #91150. Not needed anymore as #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 #92041), I misinterpreted an undefined macro issue during the development of #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.
1 parent 24180ea commit 0980f71

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

libc/include/llvm-libc-macros/generic-error-number-macros.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,5 @@
4343
#define EPIPE 32
4444
#define EDOM 33
4545
#define ERANGE 34
46-
#define ENAMETOOLONG 36
47-
#define EOVERFLOW 75
4846

4947
#endif // LLVM_LIBC_MACROS_GENERIC_ERROR_NUMBER_MACROS_H

0 commit comments

Comments
 (0)