A bug when writing data much larger than the file buffer is fixed.
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
| Paths 
 |  Differential  D127238  
[libc] Fix a bug in file write logic. AbandonedPublic Authored by sivachandra on Jun 7 2022, 11:18 AM. 
Details 
Diff Detail 
 Event TimelineHerald added projects: Restricted Project, Restricted Project.  ·  View Herald TranscriptJun 7 2022, 11:18 AM This revision is now accepted and ready to land.Jun 8 2022, 9:38 AM 
Revision Contents 
 
 
Diff 434896 libc/src/__support/File/file.cpp
 libc/test/src/__support/File/file_test.cpp
 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
needs to be dataref[i+write_size]