add fputs, puts, and the EOF macro that they use.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D134328
[libc] add fputs and puts ClosedPublic Authored by michaelrj on Sep 20 2022, 4:58 PM.
Details
Summary add fputs, puts, and the EOF macro that they use.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project. · View Herald TranscriptSep 20 2022, 4:58 PM michaelrj retitled this revision from [libc] add fputs to [libc] add fputs and puts.Sep 21 2022, 10:51 AM michaelrj added inline comments. This revision is now accepted and ready to land.Sep 21 2022, 10:59 AM This revision was landed with ongoing or failed builds.Sep 21 2022, 11:10 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 461956 libc/config/linux/api.td
libc/config/linux/x86_64/entrypoints.txt
libc/docs/stdio.rst
libc/spec/stdc.td
libc/src/__support/File/file.cpp
libc/src/stdio/CMakeLists.txt
libc/src/stdio/fputs.h
libc/src/stdio/fputs.cpp
libc/src/stdio/puts.h
libc/src/stdio/puts.cpp
libc/test/src/stdio/CMakeLists.txt
libc/test/src/stdio/fileop_test.cpp
libc/test/src/stdio/puts_test.cpp
|
Casting a unsigned value to a signed value can lead to incorrect sign. Why don't we just return 1 here?