Andrew Josey's Ballot +44 118 950 8311 x2250 ajosey@rdg.opengroup.org Fax: +44 118 950 0110 P1003.1m/D2 ---------------------------------------------------------------------------- @ 0 c 1 1 Sect. 0 Comment. page 0, line 0 Problem: ( missing parts of amendment?) There is no additional sysconf parameters to determine where Checkpoint restart is available at runtime. There is also no appendix C - header file contents. Action: Consider whether these omissions are intentional. ---------------------------------------------------------------------- @ 2.4 o 2 2 Sect 2.4 OBJECTION. page 3 line 11-15 Problem: (additional error numbers) We need to make it clear that these additional error numbers need only be provided if the appropriate option is supported - without this an implementation would have to add the symbolic value for the error number, even if it does not want to support the option. Action: Add into clause 2.4 after POSIX.1-1996 line 786: "Support for some error numbers is dependent on implementation options. Where an implementation option is not supported the symbolic name for that error number need not be found in the header ." The optional errors need to be broken out into a section at the end of 2.4, for example for this draft amendment: "If the .... option is supported, then the following symbolic names for error numbers are provided: [ECKPT] ...... Otherwise: Either the implementation shall support the symbolic names as described above, or they shall not be provided." ---------------------------------------------------------------------- @ 2.7.2 o 3 3 Sect 2.7.2 OBJECTION. page 4, line 16-27 Problem: (reserved header symbols) In general amendments should not reserve additional symbols in section 2.7.2 since they should use the reserved prefixes _posix and _POSIX Action: Delete the amendment on lines 16-27 Globally change all uses of the prefix ckpt_ to posix_ckpt_ and the prefix CKPT_ to POSIX_CKPT ---------------------------------------------------------------------- @ 2.7.3 o 4 4 Sect 2.7.3 OBJECTION. page 4, line 27 Problem: (optional header contents) An amendment to Section 2.7.3 is missing - detailing the header file contents. This is needed to denote the optionality of these features being present. Action: Change clause 2.7.3 , POSIX.1-1996 line 146 "prototypes or declarations shall appear in the headers listed below. Presence of some prototypes or declarations is dependent on implementation options. Where an implementation option is not supported the prototype or declaration need not be found in the header." Insert into 1003.1m/D2 after line 27 as follows: Clause 2.7.3 .... If the Process Checkpoint and Restart option are supported: ckpt_setup(), ckpt_create(), ckpt_restart(), ckpt_remove() Note if objection three is accepted these function names should be posix_ckpt_setup(), posix_ckpt_create() etc.. ---------------------------------------------------------------------- @ 2.9.3 o 5 5 Sect 2.9.3 OBJECTION. page 4, Line 32-35 Problem: Flagging versions and presence of options should include the value of the year 1999ymmL (or 200ymmL) in the value of the feature test macros if we are going to achieve backwards compatibility. Each of the Compile-Time Symbolic Constants in Table 2-10 should be defined with the value yyyymmL if that option is supported. That will allow an application not only to determine if the option is supported, but also determine if the implementation supports the version of that option corresponding to the version of the standard the user is referencing. Action: Expand the entries in table 2-10 "Compile-Time Symbolic Constants" L32-35 to also include Feature Test macros so the wording for each reads on lines 32 and 34: If this symbol is defined to the value yyyymmL, the implementation supports the .... ---------------------------------------------------------------------- @ 3.2.1.2 o 6 6 Sect. 3.2.1.2 OBJECTION. page 5, line 1-13 Problem: ( Wait for Process Termination ) The additional macros need to be conditional on the support of the implementation option. Action: (Line numbers are given for POSIX.1-1996) Add after POSIX.1-1996 section 3.2.1.2 line 405 "If the Checkpoint .... option is supported, then the following macros are provided: WIFCKPT(stat_val) .... WIFRESTART(stat_val) .... WNEWPID(stat_val) .... Otherwise: Either the implementation shall support the macros as described above, or they shall not be provided." ---------------------------------------------------------------------- @ 3.5.2.1 o 7 7 Sect. 3.5.2.1 OBJECTION. page 7, line 73 Problem: This prototype uses the size_t type, yet is not described as defining that type. Action: Either add #include after line 71 Or Add the statement into 3.5.1 Inclusion of the header may make visible the symbols allowed by this part of ISO/IEC 9945 to be in the headers . ---------------------------------------------------------------------- @ 3.5.3.1 o 8 8 Sect. 3.5.3.1 OBJECTION. page 7, line 92-93 Problem: This prototype uses the pid_t and size_t types, yet is not described as defining these types. Action: Either add #include after line 90 Or Add the statement into 3.5.1 Inclusion of the header may make visible the symbols allowed by this part of ISO/IEC 9945 to be in the headers . ---------------------------------------------------------------------- @ 3.5.4.1 o 9 9 Sect. 3.5.4.1 OBJECTION. page 10, line 197 Problem: This prototype uses the size_t type, yet is not described as defining this type. Action: Either add #include after line 194 Or Add the statement into 3.5.1 Inclusion of the header may make visible the symbols allowed by this part of ISO/IEC 9945 to be in the headers . ----- Andrew Josey The Open Group Base WG Chair Apex Plaza,Forbury Road, Email: a.josey@opengroup.org Reading,Berks.RG1 1AX,England Tel: +44 118 9508311 ext 2250 Fax: +44 118 9500110 OSF/1, Motif, UNIX and the "X" device are registered trademarks in the US and other countries, and IT DialTone and The Open Group are trademarks of The Open Group. ----------------------------------------------------------------------