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: > | > |https://android.googlesource.com/pla

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
n 22 Oct 2021: > > > > On 10/21/21 6:38 PM, enh wrote: > > > > > it's unclear whether anyone's actually hit this in practice? and > even if they > > > had, their portable workaround would be to prefix with "exec "? > > > > > > maybe try libc-co..

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 >

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

Re: Minutes of the 3rd August 2020 Teleconference

2020-08-04 Thread enh
On Tue, Aug 4, 2020 at 8:52 AM Andrew Josey wrote: > > All > Enclosed are the minutes of yesterdays teleconference > regards > Andrew > -- > > Minutes of the 3rd August 2020 Teleconference Austin-1050 Page 1 of 1 > Submitted by Andrew Josey, The Open Group. 4th August 2020 > > Attendees:

Re: Draft minutes of the 5th August 2019 Teleconference

2019-08-07 Thread enh
i'm not worried about FreeBSD so much as macOS and (even more so) iOS. i'm assuming they won't take the FreeBSD change, but don't know if anyone knows them to ask them? On Wed, Aug 7, 2019 at 2:58 PM Eric Blake wrote: > > On 8/7/19 4:43 PM, enh wrote: > > What's the plan for

Re: Draft minutes of the 5th August 2019 Teleconference

2019-08-07 Thread enh
What's the plan for the qsort_r interface, given that glibc and BSD have mutually incompatible ones (which is why I didn't add it to Android)? On Wed, Aug 7, 2019, 14:02 Eric Blake wrote: > On 8/6/19 4:48 AM, Geoff Clare wrote: > > These are the draft minutes from yesterday's call. Andrew will

Re: shell `var=value function`

2019-06-10 Thread enh
On Mon, Jun 10, 2019 at 8:56 AM Chet Ramey wrote: > > On 6/10/19 11:38 AM, enh wrote: > > the toybox project is adding a shell, and came across this issue that > > i (Android native tools/libraries maintainer) have hit before because > > mksh does exactly what POSIX says

shell `var=value function`

2019-06-10 Thread enh
the toybox project is adding a shell, and came across this issue that i (Android native tools/libraries maintainer) have hit before because mksh does exactly what POSIX says and bash does what POSIX probably intended: http://lists.landley.net/pipermail/toybox-landley.net/2019-June/010530.html

Re: pthread_t and thrd_t

2019-04-18 Thread enh
i think the requirement is only that the compiler accept -lpthread... "It is unspecified whether the libraries libc.a, libl.a, libm.a, libpthread.a, librt.a, [OB] [Option Start] libtrace.a, [Option End] libxnet.a, or liby.a exist as regular files. The implementation may accept as -l

Re: pthread_t and thrd_t

2019-04-17 Thread enh
for Android, i've been sitting this one out waiting for it to actually matter (i wasn't aware glibc had added this API --- i thought musl was the only implementation to date), but my intention is to just reuse the pthread types, not least because that lets me offer this in a backwards compatible

Re: C++ condition_variable and timed_mutex with steady_clock and pthreads

2018-10-08 Thread enh
On Sat, Oct 6, 2018 at 12:09 PM Mike Crowe wrote: > > On Wednesday 12 September 2018 at 13:47:59 -0700, Tom Cherry wrote: > > On Wed, Sep 12, 2018 at 11:56 AM Mike Crowe > > wrote: > > > > > > On Wednesday 12 September 2018 at 11:29:26 -0700, Tom Cherry wrote: > > > > On Sun, Sep 9, 2018 at

Re: pthread_kill with signal 0

2018-10-02 Thread enh
(like that guy the other day, my austin group username/password doesn't seem to work for "mantis", only for the download site...) On Sat, Sep 29, 2018 at 9:31 PM enh wrote: > > http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html > says: > > &quo

pthread_kill with signal 0

2018-09-29 Thread enh
http://pubs.opengroup.org/onlinepubs/9699919799/functions/pthread_kill.html says: "As in kill(), if sig is zero, error checking shall be performed but no signal shall actually be sent." but ESRCH isn't listed in ERRORS, only EINTR (presumably because of "Austin Group Interpretation 1003.1-2001

Re: Minutes of the 6th September 2018 Teleconference

2018-09-08 Thread enh
On Sat, Sep 8, 2018 at 2:33 AM Andrew Josey wrote: > > > All > Enclosed are the minutes of this weeks call > regards > Andrew > > > > Minutes of the 6th September 2018 Teleconference Austin-884 Page 1 of 1 > Submitted by Andrew Josey, The Open Group. 8th September 2018 > > Attendees: