urbit/f
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
..
bail.c Cleaning up old code 2013-09-28 13:21:18 -07:00
benx.c Cleaning up old code 2013-09-28 13:21:18 -07:00
cash.c Cleaning up old code 2013-09-28 13:21:18 -07:00
chad.c Cleaning up old code 2013-09-28 13:21:18 -07:00
coal.c Remove most instances of strcpy and sprintf 2013-10-30 15:25:22 -04:00
dash.c Cleaning up old code 2013-09-28 13:21:18 -07:00
hevn.c Cleaning up old code 2013-09-28 13:21:18 -07:00
host.c Cleaning up old code 2013-09-28 13:21:18 -07:00
loom.c loom.c -- drop unnecessary fsync in _loom_write that causes lag on some systems. 2013-10-14 21:02:32 +01:00
nock.c Cleaning up old code 2013-09-28 13:21:18 -07:00
rail.c Cleaning up old code 2013-09-28 13:21:18 -07:00
shed.c Cleaning up old code 2013-09-28 13:21:18 -07:00
trac.c Consider both FreeBSD and OpenBSD "bsd" 2013-10-07 12:31:41 -04:00
unix.c Consider both FreeBSD and OpenBSD "bsd" 2013-10-07 12:31:41 -04:00
wire.c Cleaning up old code 2013-09-28 13:21:18 -07:00