Anonymous | Login | 2023-09-23 21:24 UTC |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||
ID | Category | Severity | Type | Date Submitted | Last Update | ||
0001523 | [1003.1(2016/18)/Issue7+TC2] System Interfaces | Editorial | Error | 2021-10-09 14:42 | 2022-02-04 10:07 | ||
Reporter | rillig | View Status | public | ||||
Assigned To | |||||||
Priority | normal | Resolution | Accepted As Marked | ||||
Status | Applied | ||||||
Name | Roland Illig | ||||||
Organization | |||||||
User Reference | |||||||
Section | DESCRIPTION | ||||||
Page Number | (page or range of pages) | ||||||
Line Number | (Line or range of lines) | ||||||
Interp Status | --- | ||||||
Final Accepted Text | Note: 0005599 | ||||||
Summary | 0001523: Wrong layout of getopt "-" | ||||||
Description |
> If, when getopt() is called: > > argv[optind] is a null pointer*argv[optind] is not the character - > argv[optind] points to the string "-" I didn't understand the above excerpt, even after reading it multiple times. My misunderstanding was due to the missing line break before the first '*' and by the additional space before the last line. |
||||||
Desired Action |
Change the rendered HTML text to be: > If, when getopt() is called: > > argv[optind] is a null pointer > argv[optind][0] is not the character '-' > argv[optind] points to the string "-" The changes are: * additional line break between line 1 and line 2 * postfix array index in line 2 to make the lines look more similar * single quotes around the character '-' in line 2 * no leading space in line 3 Having the HTML markup <tt> inside of looks strange, as if the text outside the <tt> was intended to be displayed in proportional font. That may or may not be an entirely different issue though. |
||||||
Tags | tc3-2008 | ||||||
Attached Files | |||||||
|
![]() |
|||
Date Modified | Username | Field | Change |
2021-10-09 14:42 | rillig | New Issue | |
2021-10-09 14:42 | rillig | Name | => Roland Illig |
2021-10-09 14:42 | rillig | URL | => https://pubs.opengroup.org/onlinepubs/9699919799/functions/getopt.html [^] |
2021-10-09 14:42 | rillig | Section | => DESCRIPTION |
2021-10-09 14:52 | rillig | Note Added: 0005499 | |
2021-10-09 16:20 | kre | Note Added: 0005500 | |
2021-10-09 16:23 | kre | Note Edited: 0005500 | |
2021-10-09 16:25 | kre | Note Edited: 0005500 | |
2022-01-13 16:48 | geoffclare | Note Added: 0005599 | |
2022-01-13 16:52 | geoffclare | Project | Online Pubs => 1003.1(2016/18)/Issue7+TC2 |
2022-01-13 16:52 | geoffclare | Page Number | => (page or range of pages) |
2022-01-13 16:52 | geoffclare | Line Number | => (Line or range of lines) |
2022-01-13 16:52 | geoffclare | Interp Status | => --- |
2022-01-13 16:52 | geoffclare | Final Accepted Text | => Note: 0005599 |
2022-01-13 16:52 | geoffclare | Status | New => Resolved |
2022-01-13 16:52 | geoffclare | Resolution | Open => Accepted As Marked |
2022-01-13 16:52 | geoffclare | Tag Attached: tc3-2008 | |
2022-01-14 18:07 | ajosey | Note Added: 0005608 | |
2022-02-04 10:07 | geoffclare | Status | Resolved => Applied |
Mantis 1.1.6[^] Copyright © 2000 - 2008 Mantis Group |