Austin Group Defect Tracker

Aardvark Mark IV


Viewing Issue Simple Details Jump to Notes ] Issue History ] Print ]
ID Category Severity Type Date Submitted Last Update
0001884 [1003.1(2024)/Issue8] Shell and Utilities Objection Error 2024-12-05 09:21 2024-12-12 16:07
Reporter Love4Boobies View Status public  
Assigned To
Priority normal Resolution Accepted As Marked  
Status Resolved  
Name Bogdan Barbu
Organization
User Reference
Section file
Page Number https://pubs.opengroup.org/onlinepubs/9799919799/utilities/file.html [^]
Line Number N/A
Interp Status ---
Final Accepted Text Note: 0006991
Summary 0001884: file references FORTRAN
Description The fort77 utility was removed in Issue 8 but the file utility still mandates that FORTRAN programs be tested for.
Desired Action In the STDOUT section, remove the entry for FORTRAN.
Tags tc1-2024
Attached Files

- Relationships

-  Notes
(0006984)
geoffclare (manager)
2024-12-05 09:35

I agree that the file utility should not be required to test for FORTRAN source. In particular, the RATIONALE states (end of 2nd para):
Only those types that are reasonably well specified in POSIX or are directly related to POSIX utilities are listed in the table.

However, more changes are needed than just the STDOUT section. I will propose detailed changes in a separate note.
(0006985)
geoffclare (manager)
2024-12-05 09:46

On page 2933 line 97898 section file (STDOUT), delete:
| FORTRAN source | fortran program text | 3,5,6 |

On page 2936 line 98028 section file (RATIONALE), change:
binary data, C source, FORTRAN source, assembler source, ...
to:
binary data, source for C and other programming languages, assembler source, ...

On page 2936 line 98032 section file (RATIONALE), after:
Only those types that are reasonably well specified in POSIX or are directly related to POSIX utilities are listed in the table.
add a sentence:
Versions of this standard earlier than Issue 8 included a FORTRAN development option, and so the file utility was required to attempt to identify FORTRAN source. This is no longer required.

On page 2937 line 98057 section file (RATIONALE), change:
shell scripts, C, FORTRAN, and other computer language source files, and ...
to:
shell scripts, source for C and other programming languages, assembler source, and ...
(0006986)
Love4Boobies (reporter)
2024-12-05 09:56
edited on: 2024-12-05 12:16

I also saw FORTRAN mentioned in the rationale but I don't think those changes are necessary because rationale merely describes some historical context. After all, it still mentions assembler source, troff source, etc. and those aren't defined by POSIX either. These things can be seen throughout the document, not just on this page.

(0006987)
Love4Boobies (reporter)
2024-12-05 12:04
edited on: 2024-12-05 12:14

Apart from the change suggested in my previous comment to reintroduce those sentences to the rationale, I've also tracked down a few other instances of FORTRAN. Should I open a new ticket? For reference:

1. The FR margin code in 1.8.1.
2. _POSIX2_FORT_RUN in <unistd.h>, in 2.1.6.2, and in D.3.2.
3. The FORTRAN standard appears in the Referenced Documents in the Informative References section.
4. The asa utility should be removed as its point is to handle carriage control conventions commonly associated with FORTRAN programs. Its rationale even says this is its only intended purpose.

(0006988)
geoffclare (manager)
2024-12-05 14:24
edited on: 2024-12-05 17:18

Re: Note: 0006987
I remember asa being discussed back when the decision was made to mark fort77 OB in Issue 7. The decision was not to mark asa OB, hence why it was retained in Issue 8 when the OB stuff from 7 was removed. The other things you mention (FR, _POSIX2_FORT_RUN, Referenced Documents) are there because of asa. This is all as intended.

(0006991)
geoffclare (manager)
2024-12-05 17:36
edited on: 2024-12-12 16:06

On page 2933 line 97898 section file (STDOUT), delete:
| FORTRAN source | fortran program text | 3,5,6 |

On page 2936 line 98028 section file (RATIONALE), change:
binary data, C source, FORTRAN source, assembler source, ...
to:
binary data, source for C and other programming languages, ...

On page 2936 line 98032 section file (RATIONALE), after:
Only those types that are reasonably well specified in POSIX or are directly related to POSIX utilities are listed in the table.
add a sentence:
Versions of this standard earlier than Issue 8 included a FORTRAN development option, and so the file utility was required to attempt to identify FORTRAN source. This is no longer required.

On page 2937 line 98057 section file (RATIONALE), change:
shell scripts, C, FORTRAN, and other computer language source files, and ...
to:
shell scripts, source for C and other programming languages, and ...



- Issue History
Date Modified Username Field Change
2024-12-05 09:21 Love4Boobies New Issue
2024-12-05 09:21 Love4Boobies Name => Bogdan Barbu
2024-12-05 09:21 Love4Boobies Section => file
2024-12-05 09:21 Love4Boobies Page Number => https://pubs.opengroup.org/onlinepubs/9799919799/utilities/file.html [^]
2024-12-05 09:21 Love4Boobies Line Number => N/A
2024-12-05 09:35 geoffclare Note Added: 0006984
2024-12-05 09:46 geoffclare Note Added: 0006985
2024-12-05 09:56 Love4Boobies Note Added: 0006986
2024-12-05 12:04 Love4Boobies Note Added: 0006987
2024-12-05 12:14 Love4Boobies Note Edited: 0006987
2024-12-05 12:15 Love4Boobies Note Edited: 0006986
2024-12-05 12:16 Love4Boobies Note Edited: 0006986
2024-12-05 14:24 geoffclare Note Added: 0006988
2024-12-05 17:18 geoffclare Note Edited: 0006988
2024-12-05 17:36 geoffclare Note Added: 0006991
2024-12-12 16:06 geoffclare Note Edited: 0006991
2024-12-12 16:07 geoffclare Interp Status => ---
2024-12-12 16:07 geoffclare Final Accepted Text => Note: 0006991
2024-12-12 16:07 geoffclare Status New => Resolved
2024-12-12 16:07 geoffclare Resolution Open => Accepted As Marked
2024-12-12 16:08 geoffclare Tag Attached: tc1-2024


Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker