Austin Group Minutes of the 26 February Teleconference Austin-207 Page 1 of 1
Submitted by Andrew Josey, The Open Group.              February 27, 2004

Attendees

Andrew Josey, The Open Group
Don Cragun , Sun, PASC OR
Mark Brown, IBM, TOG OR 
Nick Stoughton, USENIX, WG15 OR

Apologies
Joanna Farley, Sun 
Dave Butenhof, HP
Ulrich Drepper, Red Hat

Draft Status
---------------
Andrew noted that Keld Simonsen had raised a request to wait until the
completion of the ISO ballot before publication of TC2. No decision was
reached on the matter, and we'll leave it open for the moment.  As far
as we know its just an up down ballot.  We need
to determine if we get can get a timely response from ISO, the ballot is
due to close on April 14. Perhaps our ISO reps can report back on
what the letter ballot is (Andrew says he does not have sight of these
items at the ISO level).

Andrew reported that the TC2 document itself
is ready to publish now and is just awaiting an ISBN number from IEEE.
The editors will prepare the merged document incorporating TC2 during
the month of March.

No comments had been received on the draft Change History
or Summary of changes document:
http://www.opengroup.org/austin/docs/austin_206.txt


Defect Report Processing
-------------------------
The group picked up on the latest batch of defect reports,
which are available at the following URL:
http://www.opengroup.org/austin/aardvark/latest/


XCU ERN 15 STDOUT format of  the locale utility Accept as marked

The review group agreed that the standard is unclear about
LANG when it has no value. This should be raised as an interpretation
and forwarded to the sponsor for consideration in a future revision.

Proposed changes for a future revision are as follows:
Insert a new 1st para in STDOUT

	The LANG variable shall be written first using the format
	"LANG=%s\n", <value>

	If LANG is not set or is an empty string the value is the
	empty string.

Change the existing first para 
from:
	If locale is invoked without any options or operands, the names
	and values of the LANG and LC_* environment variables described
	in this volume of IEEE Std 1003.1-2001 shall be written to the
	standard output, one variable per line, with LANG first, and
	each line using the following format.  Only those variables set
	in the environment and not overridden by LC_ALL shall be written
	using this format:

to:
	If locale is invoked without any options or operands, the
	names and values of the LC_* environment variables described
	in this volume of IEEE Std 1003.1-2001 shall be written to the
	standard output, one variable per line, and each line using the
	following format.  Only those variables set in the environment
	and not overridden by LC_ALL shall be written using this format:


XCU ERN 16 cp -if vs cp -fi REJECT

The review group agreed that the standard is what it says.
The words "in effect" means appears on the command line,
there is no difference between cp -fi and cp -if, the details
are in step 3 of the actions to be taken for each
source_file in the DESCRIPTION section of the cp
manual page.

XCU ERN 17 removal of references to ctime in pax man page ACCEPT

The review group agreed that this was an editorial matter,
and that the references to the now removed ctime field,
which is removed in TC2, should be removed as noted
for consistency.

(note 2001 edition numbers below)
Page 703,722
 On line 27120 change:
                                                                                
     atime, ctime, and mtime extended header records
                                                                                
 to:
                                                                                
     atime and mtime extended header records
                                                                                
 On line 27905 change:
                                                                                
     -o listopt='(name)s\n%(ctime)T\n%T'
                                                                                
 to:
                                                                                
     -o listopt='(name)s\n%(atime)T\n%T'

(the editors should also check the rationale section for pax)


XSH ERN 33 ftruncate errors ACCEPT

The review group agreed with the defect report. It should be forwarded
to the sponsor as an interpretation request.


Proposed changes for a future revision (line nos 2001 edition):

 1. Remove the XSI shading from the EFBIG error on lines 15060-15061.
                                                                                
 2. Delete lines 15065-15066:
                                                                                
    [EINVAL]    The fildes argument references a file that was opened
                without write permission.
                                                                                
 3. Delete line 15067:
                                                                                
    [EROFS]     The named file resides on a read-only file system.
                                                                                
 4. Add after line 15067:
                                                                                
    The ftruncate() function may fail if:
                                                                                
    [EINVAL]    The fildes argument references a regular file and the
                                                                                
                                                                                
                length argument is greater than the current size of the
                file, and the implementation does not support the XSI
                option.

XSH ERN 34 fopen/tmpfile umask ACCEPT

The review group agreed that this should be filed as an interpretation
request as suggested in the request.

 "The standard does not speak to this issue, and as such
 no conformance distinction can be made between alternative
 implementations based on this. This is being referred to the
 sponsor."
                                                                                
 In a future revision make the following changes:
                                                                                
 Add to the existing CX shaded block in fopen() which states:
                                                                                
 "If mode is w, wb, a, ab, w+, wb+, w+b, a+, ab+, or a+b, and the file
 did not previously exist, upon successful completion, the fopen()
 function shall mark for update the st_atime, st_ctime, and st_mtime
 fields of the file and the st_ctime and st_mtime fields of the parent
 directory."
                                                                                
                                                                                
 Add (also CX shaded):
 "If mode is w, wb, a, ab, w+, wb+, w+b, a+, ab+, or a+b, and the
 file did not previously exist, the fopen() function shall create a
 file as if it called the creat() function with a value appropriate
 for the /path/ argument interpreted from /filename/ and a value of
 S_IRUSR|S_IWUSR|S_IRGRP|S_IWGRP|S_IROTH|S_IWOTH for the mode argument"


                                                                                
 A corresponding change is then also needed to tmpfile() to change
                                                                                
 from:
 "The file is opened as in fopen() for update (w+)"
 to:
 "The file is opened as in fopen() for update (w+), except implementations may restrict the permissions, either by clearing
 the file mode bits or setting them to the value S_IRUSR|S_IWUSR"


Next Steps
-----------
Andrew  will update the aardvark reports with the latest inbound
defect reports.

We still need to discuss what the strategy is post TC2.

There are a number of open action items outstanding:
1. Don Cragun Pathname Resolution proposal
2. Larry Dwyer system() and threads
3. Joerg Schilling wording for XCU ERN 1 pax

The next teleconference call is scheduled for March 11 2004