mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-29 23:12:08 +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. |
||
---|---|---|
.. | ||
bail.c | ||
benx.c | ||
cash.c | ||
chad.c | ||
coal.c | ||
dash.c | ||
hevn.c | ||
host.c | ||
loom.c | ||
nock.c | ||
rail.c | ||
shed.c | ||
trac.c | ||
unix.c | ||
wire.c |