Re: IANA TZ / NerBSD TZ: tzalloc/tzfree and localtime_rz, mktime_z

2024-01-04 Thread enh via austin-group-l at The Open Group
On Thu, Jan 4, 2024 at 2:25 PM Steffen Nurpmeso wrote: > > enh wrote in > : > |for other precedent, bionic [Android] has tzalloc()/tzfree(), > |mktime_z(), localtime_rz(), and the timezone_t type since API level > |35: > | >

Re: IANA TZ / NerBSD TZ: tzalloc/tzfree and localtime_rz, mktime_z

2024-01-03 Thread enh via austin-group-l at The Open Group
for other precedent, bionic [Android] has tzalloc()/tzfree(), mktime_z(), localtime_rz(), and the timezone_t type since API level 35: https://android.googlesource.com/platform/bionic/+/main/libc/include/time.h On Wed, Jan 3, 2024 at 3:22 PM Steffen Nurpmeso via austin-group-l at The Open Group

Re: system(NULL) overly restrictive?

2023-10-25 Thread enh via austin-group-l at The Open Group
at 07:10, Oğuz via austin-group-l at The Open Group > >> wrote: > >>> On Tuesday, October 24, 2023, enh via austin-group-l at The Open Group > >>> wrote: > >>>> netbsd checks that _PATH_BSHELL is exectuable with access(2) > >>>> (but doesn'

system(NULL) overly restrictive?

2023-10-23 Thread enh via austin-group-l at The Open Group
C23 ("7.24.4.8 The system function") is stricter than POSIX: "If the argument is a null pointer, the system function returns nonzero only if a command processor is available". POSIX: "If command is a null pointer, system() shall return non-zero to indicate that a command processor is available,

"forgotten your password?" link broken?

2023-09-13 Thread enh via austin-group-l at The Open Group
the "forgotten your password?" link on https://www.opengroup.org/austin/lists.html takes me to a page to _reset_ my password which assumes i know my current password. (in the meantime, apologies for not having the right page numbers and line numbers in

Re: [1003.1(2016/18)/Issue7+TC2 0001457]: Add readlink(1) utility

2022-02-25 Thread enh via austin-group-l at The Open Group
On Fri, Feb 25, 2022 at 1:30 PM Thorsten Glaser wrote: > enh via austin-group-l at The Open Group dixit: > > >> OK, I did. Note that we're talking of options for realpath(1), not > >> readlink(1). It looks as if the toybox version (from what I can gather > >>

Re: [1003.1(2016/18)/Issue7+TC2 0001457]: Add readlink(1) utility

2022-02-25 Thread enh via austin-group-l at The Open Group
On Fri, Feb 25, 2022 at 12:20 PM Robert Elz via austin-group-l at The Open Group wrote: > Date:Fri, 25 Feb 2022 15:25:53 + > From:"Geoff Clare via austin-group-l at The Open Group" < > austin-group-l@opengroup.org> > Message-ID: <20220225152553.GA4559@localhost>

Re: [1003.1(2016/18)/Issue7+TC2 0001457]: Add readlink(1) utility

2022-02-25 Thread enh via austin-group-l at The Open Group
in terms of "what's actually used in the wild", Android uses toybox (0BSD licensed, so anyone can look :-) ) for both on-device *and* for the OS build itself on the host. toybox readlink ( https://github.com/landley/toybox/blob/master/toys/other/readlink.c) currently supports: usage:

Re: Bug 1562 and other locale issues

2022-02-14 Thread enh via austin-group-l at The Open Group
yeah, having ended up the Android bionic libc maintainer via first maintaining Android's Java i18n libraries, this was basically the conclusion i came to too. it was interesting that -- despite the much larger effort that went into it -- even Java's mid-1990s API was insufficient for pretty

Re: cut -DF

2021-12-06 Thread enh via austin-group-l at The Open Group
as someone (the maintainer of the Android command line tools) who has to deal with Unix n00bs *a lot*, i think the sales pitch for this is really "this makes cut able to do what new users assume cut is for (but can't)". (they also are very unlikely to have even heard of awk, and realistically go

Re: Posix issue 8 pending change to system().

2021-11-04 Thread enh via austin-group-l at The Open Group
good point. fair enough, i'm convinced... fixed by adding "--" to system() and popen() in bionic, with corresponding new tests: https://android-review.googlesource.com/c/platform/bionic/+/1881791 On Fri, Oct 22, 2021 at 1:38 AM Geoff Clare wrote: > Rob Landley wrote, on 22 Oct 2021: > > > > On

Re: Anyone know how XCU/fuser got into POSIX, or why?

2021-10-29 Thread enh via austin-group-l at The Open Group
On Fri, Oct 29, 2021 at 5:45 PM Robert Elz wrote: > Date:Fri, 29 Oct 2021 17:22:44 -0700 > From:enh > Message-ID: zyrjcdvqgg6ick...@mail.gmail.com> > > | i've seen fuser used in scripts to provide a list of pids to iterate > ps or > | kill over, > > Written (in

Re: Anyone know how XCU/fuser got into POSIX, or why?

2021-10-29 Thread enh via austin-group-l at The Open Group
i've seen fuser used in scripts to provide a list of pids to iterate ps or kill over, or just as an extra bit of diagnostic information for failures in automated tests. in particular, since it's available by default on macOS as well as linux (and explicitly mentioned in POSIX), it's seen as the

Re: Pseudoterminal terminology in POSIX

2020-08-18 Thread enh via austin-group-l at The Open Group
On Tue, Aug 18, 2020 at 9:11 AM Dave Martin wrote: > On Wed, Aug 12, 2020 at 03:19:00PM +0200, Steffen Nurpmeso wrote: > > Joshua M. Clulow via austin-group-l at The Open Group wrote in > > : > > |On Tue, 11 Aug 2020 at 01:33, Michael Kerrisk man-pages via > > |austin-group-l at The Open