llvm-project
0f1da49b - [libc] Fix readlink tests on 32-bit systems (#97850)

Commit
1 year ago
[libc] Fix readlink tests on 32-bit systems (#97850) Use sizeof in a string literal instead of a CString so we get the right size when creating the buf array. We also now use strlen(FILENAME) to get the string lenght when calling readlink and readlinkat.
Parents
Loading