mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-29 12:15:43 +03:00
324c6a235d
OpenBSD whines about these and recommends using strlcpy / snprintf instead. Since strlcpy isn't quite universal yet, we use strncpy instead and be careful about terminating the string. We could implement a portable strlcpy in terms of strncpy, but that'd add another function to the namespace. Yes, usually the length is obviously bounded. Still, pretending strcpy/sprintf don't exist seems like a great strategy. N.B. there are still a few occurrences of strcpy and sprintf under f/ and in libuv, but I don't have time to tackle them right now. |
||
---|---|---|
.. | ||
ames.c | ||
batz.c | ||
fs.c | ||
http.c | ||
loop.c | ||
main.c | ||
reck.c | ||
save.c | ||
term.c | ||
time.c | ||
unix.c | ||
walk.c |