Re: [Toybox] Alternatives to github?

2019-01-25 Thread Reverend Homer
Hi, Take a look at the new project sr.ht: https://lwn.net/Articles/775963/ Maybe you'll find it useful. R.H. On 04/06/2018 04:06, Rob Landley wrote: If Microsoft acquires github, where should I publish releases instead? Rob ___ Toybox mailing list

Re: [Toybox] [PATCH] Whitespace: remove tabs from indentation.

2019-01-25 Thread Reverend Homer
ode review anyway, unless everyone agrees in a longer line length, in which case just fix your .clang-format file so the tool knows what your max line length is.) On Thu, Jan 24, 2019 at 1:03 AM Reverend Homer wrote: Yeah, that's an option. But AFAICS according to my experience every project tr

Re: [Toybox] [PATCH] Whitespace: remove tabs from indentation.

2019-01-24 Thread Reverend Homer
and literally pay no attention to the layout of what i'm typing, allowing ctrl-S to think about it so i don't have to. On Wed, Jan 23, 2019 at 12:46 AM Reverend Homer wrote: Maybe it's worth adding .editorconfig file? Pretty much all editors support it from the box or have the plugin. R.H

Re: [Toybox] [PATCH] Whitespace: remove tabs from indentation.

2019-01-23 Thread Reverend Homer
Maybe it's worth adding .editorconfig file? Pretty much all editors support it from the box or have the plugin. R.H. On 23/01/2019 05:23, enh via Toybox wrote: I accidentally added a tab in xargs.c, so as penance I'll clean up all the tabs. --- toys/pending/dhcp.c | 2 +-

Re: [Toybox] [PATCH] mktemp: add -t and fix behavior.

2018-12-05 Thread Reverend Homer
Oops, now I have link-time warning: ld: generated/obj/mktemp.o: in function `mktemp_main': mktemp.c:(.text.mktemp_main+0xa9): warning: the use of `mktemp' is dangerous, better use `mkstemp' or `mkdtemp' R.H. On 29/11/2018 03:15, enh via Toybox wrote: The new tests pass on the host

Re: [Toybox] [PATCH] macOS: move getmountlist.c functions into portability.c.

2018-12-05 Thread Reverend Homer
01:15, Rob Landley wrote: On 12/4/18 3:34 PM, enh via Toybox wrote: it'll fail to build if you actually try to build a toy that needs these :-) On Tue, Dec 4, 2018 at 1:28 PM Reverend Homer wrote: Oddy enough for that one I got your reply, but not Revend Homer's, and going through the spam filter

Re: [Toybox] [PATCH] macOS: move getmountlist.c functions into portability.c.

2018-12-04 Thread Reverend Homer
On 04/12/2018 23:48, enh via Toybox wrote: <...> + +// Get a linked list of mount points, with stat information. +#ifdef __APPLE__ + +// Not implemented for macOS. +// See 's getmntinfo(3) for the BSD API. + Shouldn't there be some warning? R.H. +#else + +#include + +static void

[Toybox] [PATCH] file: small do_regular_file optimization

2018-11-26 Thread Reverend Homer
There are a bunch of if (!memcmp(s+28,...)) lines, let's make them "else if" --- toys/posix/file.c | 28 ++-- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/toys/posix/file.c b/toys/posix/file.c index 8d8d5579..7d7bc3eb 100644 --- a/toys/posix/file.c +++