Minutes of the 4th April 2019 Teleconference Austin-923 Page 1 of 1 Submitted by Andrew Josey, The Open Group. 6th April 2019 Attendees: Don Cragun, IEEE PASC OR Joerg Schilling, FOKUS Fraunhofer Nick Stoughton, USENIX, ISO/IEC JTC 1/SC 22 OR Andrew Josey, The Open Group Geoff Clare, The Open Group Eric Blake, Red Hat Mark Ziegast, SHware Systems Dev. (partial) * General news Andrew had completed his action on a Draft PAR for the major revision and had circulated that to the Core team for review. Action: Core team members to review offline and respond initially with email comments. Action: Andrew to collate open items from past meetings into one list, so we can assess what items might need addressing in the major revision. * Outstanding actions (Please note that this section has been flushed to shorten the minutes - to locate the previous set of outstanding actions, look to the minutes from 9 March 2018 and earlier) Bug 1077: Recommend support for wide-character regcomp and regexec and/or specify multi-byte behavior OPEN http://austingroupbugs.net/bug_view_page.php?bug_id=1077 Andrew has completed the action to ping his Apple contact and is awaiting a reply. Bug 1122: POSIX should include gettext() and friends OPEN http://austingroupbugs.net/view.php?id=1122 Left open as an action is still in progress to flesh out a complete proposal. * Current Business Bug 1206: The echo that supports -n is Bell Labs Unix echo, not "BSD echo" Rejected http://austingroupbugs.net/view.php?id=1206 This was discussed during the 2019-04-01 and 2019-04-04 conference calls. Although factually correct at this point, the discussions at the time the standard was being written were based on the then current UNIX System V echo and the BSD4.x echo. The rationale is consistent with those two versions of echo (no matter what either of them used as a basis for the way their code behaved). Trying to change the historical references at this point would do injustice to the discussions that were held at the time the standard was created. Bug 1207: "set -o option" should be mandatory, not UP Accepted http://austingroupbugs.net/view.php?id=1207 This item is tagged for TC3-2008 Bug 1208: calling chdir as part of posix_spawn Accepted http://austingroupbugs.net/view.php?id=1208 glibc added posix_spawn_file_actions_add[f]chdir_np() in 2018: https://sourceware.org/bugzilla/show_bug.cgi?id=17405 This item is tagged for Issue 8 Bug 1209: printf example for numeric value of character is wrong Accepted http://austingroupbugs.net/view.php?id=1209 This item is tagged for TC3-2008 Bug 1211: "trap" (with no args) specification does not match reality Accepted as Marked http://austingroupbugs.net/view.php?id=1211 This item is tagged for TC3-2008 Change the sentence starting on line 77514 from: The trap command with no operands shall write to standard output a list of commands associated with each condition. to: The trap command with no operands shall write to standard output a list of commands associated with each condition which is not in its default state. Change the sentence at line 77522 from: The shell shall format the output, including the proper use of quoting, so that it is suitable for reinput to the shell as commands that achieve the same trapping results. to: The shell shall format the output, including the proper use of quoting, so that it is suitable for reinput to the shell as commands that achieve the same trapping results for those traps that had previously been altered. And also change the example at lines 77524-6 from: save_traps=$(trap) ... eval "$save_traps" to: save_traps=$(trap) trap "some command" INT QUIT save_traps="trap - INT QUIT; $save_traps" ... eval "$save_traps" On page 2422 line 77564, change APPLICATION USAGE from: None. to: Since trap with no operands does not output commands to restore traps that are currently set to default, these need to be restored separately. The DESCRIPTION section shows one example, but the method it uses relies on hard-coding the commands to reset the traps that are being set. A more general approach would be: save_traps=$(trap) ... for sig in EXIT $( kill -l ) do case "$sig" in SIGKILL | KILL | sigkill | kill | SIGSTOP | STOP | sigstop | stop) ;; *) trap - $sig ;; esac done eval "$save_traps" However, this has a race condition since it first sets all traps (that can be set) to default and then restores those that were not previously set to default. On page 2423, line 77606 (FUTURE DIRECTIONS) change: None. to: A future version of this standard may define a mechanism to obtain the current setting of all traps (including those in their default state). Next Steps ---------- The next calls are on: April 8th 2019 (Monday) This call will be for 60 minutes. April 11th 2019 (Thursday) This call will be for 90 minutes. Calls are anchored on US time. (8am Pacific) Apologies in advance: Mon 2019-04-15 Andrew Josey 2019-04-11 - 2019-04-25 inclusive Nick Stoughton http://austingroupbugs.net An etherpad is usually up for the meeting, with a URL using the date format as below: https://posix.rhansen.org/p/201x-mm-dd username=posix password=2115756#