Re: [Toybox] [PATCH] bufgetgrgid: fix for very large groups.

2018-06-30 Thread Rob Landley
On 06/30/2018 09:45 PM, Rob Landley wrote: > Sigh, but I might as well keep the two functions matching in case I do work > out > a way to collapse them together later. Question, which requires some context first: I've been triaging pending/ and looking at the 4 groupadd/groupdel/useradd/userdel

Re: [Toybox] [PATCH] bufgetgrgid: fix for very large groups.

2018-06-30 Thread Rob Landley
On 06/28/2018 06:41 PM, enh wrote: > In theory, both getpwuid_r and getgrgid_r need to loop until the buffer > is large enough. In practice, that's true for me with getgrgid_r. A fixed size 512 byte allocation is pretty small. It should probably have been page size, but since the list never flushe

Re: [Toybox] Github "failed to load latest commit information"?

2018-06-30 Thread enh
It's working for me. On Sat, Jun 30, 2018, 07:29 Rob Landley wrote: > https://github.com/landley/toybox/tree/master/toys is giving me an error, > but > clicking on the error message doesn't give details. > > Microsoft hasn't even owned it a month yet, this is silly. The commit log > seems > reas

[Toybox] Github "failed to load latest commit information"?

2018-06-30 Thread Rob Landley
https://github.com/landley/toybox/tree/master/toys is giving me an error, but clicking on the error message doesn't give details. Microsoft hasn't even owned it a month yet, this is silly. The commit log seems reasonable...? Sigh. I break everything. Rob _