urbit/v
Steven Dee 324c6a235d Remove most instances of strcpy and sprintf
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.
2013-10-30 15:25:22 -04:00
..
ames.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
batz.c Cleaning up old code 2013-09-28 13:21:18 -07:00
fs.c Cleaning up old code 2013-09-28 13:21:18 -07:00
http.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
loop.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
main.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
reck.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
save.c Changes for libuv bug reproduce. 2013-10-14 11:23:55 -07:00
term.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
time.c Cleaning up old code 2013-09-28 13:21:18 -07:00
unix.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
walk.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00