[libc-commits] [libc] Fix spelling mistake in file.cpp (PR #91192)

via libc-commits libc-commits at lists.llvm.org
Mon May 6 06:22:03 PDT 2024


================
@@ -356,7 +356,7 @@ int File::set_buffer(void *buffer, size_t size, int buffer_mode) {
     // We exclude the case of buffer_mode == _IONBF in this branch
     // because we don't need to allocate buffer in such a case.
     if (own_buf) {
-      // This is one of the places where use a C allocation functon
+      // This is one of the places where a C allocation functon is used
----------------
lntue wrote:

allocation *function*

https://github.com/llvm/llvm-project/pull/91192


More information about the libc-commits mailing list