[Toybox] [PATCH v2] cleanup init.c

ibid.ag at gmail.com ibid.ag at gmail.com
Wed Jan 22 16:55:15 PST 2014


-Eradicate (char*) casts for strings.
-Don't panic on failure to write messages.
-Don't panic on failure to fork; sleep an extra second instead.
-s/defualt/default/g
-Inline a couple functions called once.
(Don't inline inittab_parsing because it is too large).

--

This is more-or-less the same patch I sent, updated to apply to master.
(In future, feel free to ask me to update patches I send when
they don't apply.)

I'll send the part that removes VT_OPENQRY later, since it's a feature
change rather than a bugfix (trail of breadcrumbs and all that).

HTH,
Isaac Dunham

-------------- next part --------------
A non-text attachment was scrubbed...
Name: init-cleanup.diff
Type: text/x-diff
Size: 4972 bytes
Desc: not available
URL: <http://lists.landley.net/pipermail/toybox-landley.net/attachments/20140122/e5010d65/attachment-0006.diff>


More information about the Toybox mailing list