Minutes of the 9th December 2021 Teleconference Austin-1184 Page 1 of 1 Submitted by Andrew Josey, The Open Group. 10th December 2021 Attendees: Nick Stoughton, Logitech/USENIX, ISO/IEC JTC 1/SC 22 OR Don Cragun, IEEE PASC OR Eric Ackermann, HPI, University of Potsdam Geoff Clare, The Open Group Andrew Josey, The Open Group Mark Ziegast, SHware Systems Dev. Eric Blake, Red Hat, The Open Group OR (partial) Apologies Tom Thompson, IEEE * General news This was a call dedicated to general bugs. * Outstanding actions None * Current Business Bug 1496: Add asprintf() and vasprintf() Accepted as Marked https://austingroupbugs.net/view.php?id=1496 This issue is tagged for Issue 8. Add pointer page for asprintf referencing fprintf. Add pointer page for vasprintf referencing vfprintf. On p909 line 30737 add asprintf to the title line. On P 909, before line 30740, add [CX]int asprintf(char ** restrict ptr, const char * restrict format, ...); (the next line, dprintf() is already CX shaded, so this extends the shading backwards). On line 30747, change Excluding dprintf( ): to Excluding asprintf() and dprintf(): Before line 30754 insert a new paragraph, CX shaded: The asprintf() function shall be equivalent to sprintf(), except that the output string shall be written to dynamically allocated memory, allocated as if by a call to malloc(), of sufficient length to hold the resulting string, including a terminating null byte. If the call to asprintf() is successful, the address of this dynamically allocated string shall be stored in the location referenced by ptr. Before line 31016, Add a new paragraph, CX shaded: Upon successful completion, the asprintf() function shall return the number of bytes written to the allocated string stored in the location referenced by ptr, excluding the terminating null byte. At line 31021 append a sentence CX shaded: For asprintf(), if memory allocation was not possible, or if some other error occurs, the function shall return a negative value, and the contents of ptr are undefined, but shall not refer to allocated memory. Before line 31032 add: [CX]The asprintf() function shall fail if: [ENOMEM] Insufficient storage space is available.[/CX] Add CX shading to lines 31032-33. On page 920, APPLICATION USAGE, after line 31260 add a new paragraph: The space allocated by a successful call to asprintf() should be subsequently freed by a call to free(). On page 2212, line 70651 add vasprintf to the title line. Insert before line 70655 (extending the CX shading backwards a line) [CX] int vasprintf(char ** restrict ptr, const char * restrict format, va_list arg); At line 70666, change The [CX]vdprintf()[/CX], ... to The [CX]vasprintf(), vdprintf()[/CX], ... At line 70667, change [CX]dprintf()[/CX], ... to [CX]asprintf(), dprintf()[/CX], ... Note: Though the ISO TR includes aswprintf, no current implementations appear to provide this, so it is not included here. Additionally, such functionality is available using open_wmemstream, so invention here is really unecessary. Bug 1505: Make doesn't seem to specify unset macro expansion behaviour Accepted as Marked https://austingroupbugs.net/view.php?id=1505 This issue is tagged for Issue 8. On draft 2.1 page 2943 line 98732 change: that completely matches the [op]%[os] pattern on the left hand side to: that completely matches, in a case-sensitive manner, the [op]%[os] pattern on the left hand side On draft 2.1 page 2944 line 98750 change: If the original value of the variable named by string1 is an empty string, the final result shall be an empty string. Matching shall be case-sensitive. to: In all forms of macro expansion, if the value of the macro named by string1 is an empty string, the final result shall be an empty string. If the macro named by string1 does not exist, it is unspecified whether the final result is an empty string or make treats it as an error. The application should ensure that all macros used by make exist (and are explicitly set to an empty string if expected to expand to an empty string). Bug 1506: Exit status 0 for ln needs changing Accepted https://austingroupbugs.net/view.php?id=1506 This issue is tagged for TC3-2008 Bug 1507: Exit status 0 for mailx needs changing Accepted https://austingroupbugs.net/view.php?id=1507 This issue is tagged for TC3-2008 Bug 1508: Exit status 0 for the stty utility needs changing Accepted https://austingroupbugs.net/view.php?id=1508 This issue is tagged for TC3-2008 Bug 1509: tty EXIT STATUS needs some changes Accepted https://austingroupbugs.net/view.php?id=1509 This issue is tagged for TC3-2008 Bug 1510: Typo in example in make Accepted https://austingroupbugs.net/view.php?id=1510 Accepted, resolved, tc3-2008 tag. This issue is tagged for TC3-2008 Next Steps ---------- The next calls are on: Mon 2021-12-13 (gettext) Thu 2021-12-16 (general bugs) Mon 2021-12-20 (gettext) No meetings then until 2022-01-06 The calls are for 90 minutes Calls are anchored on US time. (8am Pacific) Please check the calendar invites for dial in details. Bugs are at: https://austingroupbugs.net An etherpad is usually up for the meeting, with a URL using the date format as below: https://posix.rhansen.org/p/20xx-mm-dd (For write access this uses The Open Group single sign on, for those individuals with gitlab.opengroup.org accounts. Please contact Andrew if you need to be setup)