Commit Graph

2771 Commits

Author SHA1 Message Date
cgyarvin
e75faa46cf Merge pull request #75 from mrdomino/master
Remove remainder of sprintf & strcpy calls
2013-11-01 12:20:13 -07: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
Curtis Yarvin
5b4c4437ce Merge branch 'master' of github.com:urbit/urbit 2013-10-31 17:20:57 +00:00
Curtis Yarvin
91adaea16a Fix SO_REUSEPORT issue in linux. 2013-10-31 17:20:42 +00:00
cgyarvin
395ddde229 Merge pull request #72 from mrdomino/master
!!! Fix hom_w calculation
2013-10-30 14:51:14 -07:00
Steven Dee
ef40109ea9 Fix hom_w calculation 2013-10-30 16:59:57 -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
Steven Dee
ffe0786f03 Remove trailing paren 2013-10-30 14:44:35 -04:00
C. Guy Yarvin
367838774a Fix broken build. 2013-10-30 11:42:24 -07:00
C. Guy Yarvin
e91048a915 Merge branch 'master' of https://github.com/urbit/urbit 2013-10-30 11:27:05 -07:00
C. Guy Yarvin
549d090add Various fixes and improvements. 2013-10-30 11:26:51 -07:00
C. Guy Yarvin
b016be2a6b Merge branch 'master' of github.com:urbit/urbit 2013-10-26 20:56:19 -07:00
C. Guy Yarvin
25b7ed9a9c Various fixes and improvements. 2013-10-26 20:55:53 -07:00
C. Guy Yarvin
fa2bccf255 Merge branch 'master' of github.com:urbit/urbit 2013-10-23 14:48:47 -07:00
C. Guy Yarvin
e6441de170 Correctly load original pill after checkpoint failure. 2013-10-23 14:48:14 -07:00
C. Guy Yarvin
1b51fc3c4d Merge branch 'master' of github.com:urbit/urbit 2013-10-21 12:30:24 -07:00
cgyarvin
c7368f526c Merge pull request #62 from mrdomino/master
Don't fork in daemon mode
2013-10-21 12:08:16 -07:00
Steven Dee
d51339b885 Don't fork in daemon mode 2013-10-21 14:55:19 -04:00
cgyarvin
c9d51d63f8 Merge pull request #61 from mrdomino/master
Exit 0 on successful daemonization
2013-10-21 10:59:14 -07:00
Steven Dee
b0e2f692ac Exit 0 on successful daemonization 2013-10-21 13:13:53 -04:00
johncburnham
f536794b17 Merge pull request #58 from ab9/official_email
Use official email address
2013-10-20 00:18:40 -07:00
Curtis Yarvin
b0078e4c48 Add initial GC on startup; fix batz handling of %yu. 2013-10-19 06:10:25 +00:00
C. Guy Yarvin
898c53c3f9 Merge branch 'master' of github.com:urbit/urbit 2013-10-15 14:02:54 -07:00
Curtis Yarvin
84593e79b0 Merge branch 'master' of github.com:urbit/urbit 2013-10-15 17:58:40 +00:00
cgyarvin
39b0169f51 Merge pull request #56 from asokoloski/master
loom.c -- drop unnecessary fsync in _loom_write that causes lag on some systems.
2013-10-14 13:20:53 -07: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
C. Guy Yarvin
9da4841584 Merge branch 'master' of github.com:urbit/urbit 2013-10-14 11:24:33 -07:00
C. Guy Yarvin
91551d2f5a Changes for libuv bug reproduce. 2013-10-14 11:23:55 -07:00
johncburnham
bab993836e Merge pull request #55 from philipcmonk/master
For syntax highlighting, group base{32,64} digits in fives.
2013-10-13 03:46:47 -07:00
Philip Monk
a7a72ad6d2 For syntax highlighting, group base{32,64} digits in fives. 2013-10-12 22:55:58 -07:00
Philip Monk
2d4e9a5241 Merge branch 'patch-1' of https://github.com/akkartik/hoon.vim
Conflicts:
	syntax/hoon.vim
2013-10-12 22:50:41 -07:00
Philip Monk
01b560ae4a Group base32 numbers every 5 digits. 2013-10-12 22:45:01 -07:00
Kartik Agaram
5d4ff1c6ae Base-64 numbers should group every 5 digits.
Based on keyprints in ames.hoon, which seem to be the only base-64 numbers in the codebase.
2013-10-12 21:55:24 -07:00
C. Guy Yarvin
776b006342 Merge branch 'master' of github.com:urbit/urbit 2013-10-11 13:46:23 -07:00
Curtis Yarvin
6d091f5e07 Continuity breach, flag day. 2013-10-11 18:00:22 +00:00
C. Guy Yarvin
c1c079cd65 Merge branch 'master' of github.com:urbit/urbit
Conflicts:
	urb/urbit.pill
2013-10-08 19:24:45 -07:00
Curtis Yarvin
ccccea982c More printfs... 2013-10-08 18:26:59 +00:00
C. Guy Yarvin
e2ec713cb6 Merge branch 'master' of github.com:urbit/urbit 2013-10-07 22:57:16 -07:00
johncburnham
a91fdd07bd Merge pull request #54 from mrdomino/master
Consider both FreeBSD and OpenBSD "bsd"
2013-10-07 20:42:11 -07:00
Steven Dee
1a6f18d09d Consider both FreeBSD and OpenBSD "bsd" 2013-10-07 12:31:41 -04:00
C. Guy Yarvin
ab35a08774 Development "branch" goes back to production. 2013-10-06 00:44:07 -07:00
C. Guy Yarvin
939521fc58 Merge branch 'master' of github.com:urbit/urbit 2013-10-04 22:34:39 -07:00
Curtis Yarvin
6671d85b86 Merge branch 'master' of github.com:urbit/urbit 2013-10-04 22:33:45 +00:00
Curtis Yarvin
323d010724 Fix a memory leak per packet. 2013-10-04 22:33:26 +00:00
cgyarvin
54f4071139 Merge pull request #51 from dnadle/master
Handle autosave SIGCHLD with no stored pid
2013-10-04 07:04:52 -07:00
David Nadle
abac35c6eb Handle autosave SIGCHLD with no stored pid 2013-10-04 03:07:47 -04:00
C. Guy Yarvin
a0b2724287 Merge branch 'master' of github.com:urbit/urbit 2013-10-03 22:27:18 -07:00
johncburnham
f178f08cba Merge pull request #50 from philipcmonk/master
Add ninja modes to hoon.vim
2013-10-03 21:14:28 -07:00
Eric Fode
bdb4ec18ef Merge pull request #6 from philipcmonk/master
Added ajnin mode.
2013-10-03 21:05:40 -07:00
Philip Monk
3f68d43fbc Merge branch 'master' of https://github.com/philipcmonk/hoon.vim 2013-10-03 20:17:52 -07:00