Re: [Toybox] freadahead()

2022-09-22 Thread Rob Landley
On 9/22/22 18:59, enh wrote: > On Tue, Apr 12, 2022 at 9:02 PM Rob Landley wrote: > >     The number I'm looking for is "how many bytes can I read from the > FILE > pointer > >     without triggering another underlying read from the fd" because I > can't re-read > >     that

Re: [Toybox] freadahead()

2022-09-22 Thread enh via Toybox
On Tue, Apr 12, 2022 at 9:02 PM Rob Landley wrote: > On 4/12/22 20:39, enh wrote:> On Mon, Apr 11, 2022 at 11:25 PM Rob Landley > > > wrote: > > > > On 4/11/22 19:03, enh wrote: > > > On Mon, Apr 11, 2022 at 3:19 PM Rob Landley > >

Re: [Toybox] freadahead()

2022-04-12 Thread Rob Landley
On 4/12/22 20:39, enh wrote:> On Mon, Apr 11, 2022 at 11:25 PM Rob Landley > wrote: > > On 4/11/22 19:03, enh wrote: > > On Mon, Apr 11, 2022 at 3:19 PM Rob Landley > > >> wrote:

Re: [Toybox] freadahead()

2022-04-12 Thread Rob Landley
On 4/12/22 15:15, dmccunney wrote: > On Tue, Apr 12, 2022 at 2:25 AM Rob Landley wrote: > > And speaking of PostgreSQL: > https://www.postgresql.org/about/news/trademark-actions-against-the-postgresql-community-2302/ My link was intended to demonstrate a historical pattern of behavior on the

Re: [Toybox] freadahead()

2022-04-12 Thread enh via Toybox
On Mon, Apr 11, 2022 at 11:25 PM Rob Landley wrote: > On 4/11/22 19:03, enh wrote: > > On Mon, Apr 11, 2022 at 3:19 PM Rob Landley > > wrote: > > Anyway, if musl and bionic have __freadahead(), I can either #ifdef > the glibc > > hack for it in portability.h, or

Re: [Toybox] freadahead()

2022-04-12 Thread dmccunney
On Tue, Apr 12, 2022 at 2:25 AM Rob Landley wrote: And speaking of PostgreSQL: https://www.postgresql.org/about/news/trademark-actions-against-the-postgresql-community-2302/ > Rob __ Dennis ___ Toybox mailing list Toybox@lists.landley.net

Re: [Toybox] freadahead()

2022-04-12 Thread Rob Landley
On 4/11/22 19:03, enh wrote: > On Mon, Apr 11, 2022 at 3:19 PM Rob Landley > wrote: > Anyway, if musl and bionic have __freadahead(), I can either #ifdef the > glibc > hack for it in portability.h, or might just move xgetline() into > portability.c > and

Re: [Toybox] freadahead()

2022-04-11 Thread enh via Toybox
On Mon, Apr 11, 2022 at 3:19 PM Rob Landley wrote: > Elliott: could you add __freadahead() to bionic the way musl and z/os and > so on > have? > > I'm bothering the posix guys about this, thread starts here: > > https://www.mail-archive.com/austin-group-l@opengroup.org/msg09468.html > > The