Skip to content

Commit 27d7bb8

Browse files
[libc] fix up fileno tests (#85660)
Fixes #85628
1 parent 44c579f commit 27d7bb8

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

libc/config/gpu/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -179,6 +179,7 @@ set(TARGET_LIBC_ENTRYPOINTS
179179
libc.src.stdio.ferror
180180
libc.src.stdio.fseek
181181
libc.src.stdio.fflush
182+
libc.src.stdio.fileno
182183
libc.src.stdio.ftell
183184
libc.src.stdio.clearerr
184185
libc.src.stdio.puts

libc/config/linux/aarch64/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -542,6 +542,7 @@ if(LLVM_LIBC_FULL_BUILD)
542542
libc.src.stdio.ferror_unlocked
543543
libc.src.stdio.fgetc
544544
libc.src.stdio.fflush
545+
libc.src.stdio.fileno
545546
libc.src.stdio.fopen
546547
libc.src.stdio.fputc
547548
libc.src.stdio.fputs

libc/config/linux/riscv/entrypoints.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,7 @@ if(LLVM_LIBC_FULL_BUILD)
565565
libc.src.stdio.fgetc_unlocked
566566
libc.src.stdio.fgets
567567
libc.src.stdio.fflush
568+
libc.src.stdio.fileno
568569
libc.src.stdio.fopen
569570
libc.src.stdio.fputc
570571
libc.src.stdio.fputs

libc/test/src/stdio/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ add_libc_test(
1414
libc.src.stdio.feof
1515
libc.src.stdio.ferror
1616
libc.src.stdio.fflush
17+
libc.src.stdio.fileno
1718
libc.src.stdio.fopen
1819
libc.src.stdio.fputs
1920
libc.src.stdio.fread

libc/test/src/stdio/fileop_test.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
#include "src/stdio/feof.h"
1212
#include "src/stdio/ferror.h"
1313
#include "src/stdio/fflush.h"
14+
#include "src/stdio/fileno.h"
1415
#include "src/stdio/fopen.h"
1516
#include "src/stdio/fputs.h"
1617
#include "src/stdio/fread.h"

0 commit comments

Comments
 (0)