Commit Graph

19 Commits

Author SHA1 Message Date
C. Guy Yarvin
98006a2851 Last checkin on funbreach. 2014-01-06 12:37:42 -08:00
C. Guy Yarvin
e7ae289002 Removed unused runes. 2014-01-04 20:11:15 -08:00
C. Guy Yarvin
0b38cd36c5 Eliminate %wtcn in favor of %wtts. 2013-12-26 21:43:25 -05:00
C. Guy Yarvin
6faa9c453a Merge branch 'master' of github.com:urbit/urbit 2013-12-20 18:49:25 -08:00
C. Guy Yarvin
c57ec891d3 Merge branch 'funky'
Conflicts:
	urb/urbit.pill
	urb/zod/arvo/ames.hoon
2013-12-20 18:45:17 -08:00
C. Guy Yarvin
c3965d0ad3 On the way to funk. 2013-12-20 09:34:13 -08:00
Steven Dee
f2a839426b Ye olde whitespace cleanup part 2
sed -i, glanced at.
2013-12-18 13:17:47 -08:00
Steve Dee
a75e974af9 Fix remaining non-libuv memory leaks
The only leaks remaining are in libuv's fsevents code. They could
be our fault, but it's unlikely.
2013-12-16 18:36:32 -08:00
C. Guy Yarvin
33430d9fbc Fix bus errors with proper truncation. 2013-11-13 10:57:43 -08:00
C. Guy Yarvin
a4baea40fd Fix a bunch of memory leaks and stuff. 2013-11-11 23:09:11 -08:00
C. Guy Yarvin
8bd25d8b32 Use ftruncate() to map checkpoint images as sparse files. 2013-11-11 11:13:47 -08:00
Curtis Yarvin
fd4e5f9e5f Remove debug printf. 2013-11-09 04:05:48 +00:00
C. Guy Yarvin
91fe182f81 Various fixes and improvements... 2013-11-08 15:37:38 -08:00
Steven Dee
c489d2dc7d Remove remainder of sprintf & strcpy calls
Note that there are still some in libuv.
2013-11-01 15:10:41 -04:00
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
Aaron Sokoloski
3755a7620e loom.c -- drop unnecessary fsync in _loom_write that causes lag on some systems.
u2_loom_save syncs after writing anyway.
2013-10-14 21:02:32 +01:00
Steven Dee
1a6f18d09d Consider both FreeBSD and OpenBSD "bsd" 2013-10-07 12:31:41 -04:00
Lev Serebryakov
018cfe5eaf Quick'n'dirty port to FreeBSD (checked on FreeBSD 9.2/amd64) 2013-10-02 18:44:22 +04:00
Christian Carter
3af3130bdc Cleaning up old code 2013-09-28 13:21:18 -07:00