View Issue Details

IDProjectCategoryView StatusLast Update
00008091003.1(2013)/Issue7+TC1Shell and Utilitiespublic2019-06-10 08:55
Reportershware_systems Assigned To 
PrioritynormalSeverityObjectionTypeOmission
Status ClosedResolutionAccepted 
NameMark Ziegast
Organization
User Reference
Sectionsh
Page Number3201
Line Number107253
Interp Status---
Final Accepted Text
Summary0000809: Missing 'shall exit' error number
DescriptionPer Line 74433-7:
"If the execl( ) function fails due to an error equivalent to the [ENOEXEC] error, the shell
shall execute a command equivalent to having a shell invoked with the command name
as its first operand, with any remaining arguments passed to the new shell. If the
executable file is not a text file, the shell may bypass this command execution. In this case,
it shall write an error message and shall return an exit status of 126."

This is not reflected in the Exit Values section of sh as a reserved exit status.
Desired ActionChange Line 107253:
"1-125 A non-interactive shell detected an error other than command_file not found, including but not limited to syntax, redirection, or variable assignment errors."
to:
"1-125 A non-interactive shell detected an error other than command_file not found or executable, including but not limited to syntax, redirection, or variable assignment errors.

126 A specified command_file could not be executed due to a ENOEXEC error (See XSH 2.9.1.1, Item 2)."
Tagstc2-2008

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2013-12-10 09:22 shware_systems New Issue
2013-12-10 09:22 shware_systems Name => Mark Ziegast
2013-12-10 09:22 shware_systems Section => sh
2013-12-10 09:22 shware_systems Page Number => 3201
2013-12-10 09:22 shware_systems Line Number => 107253
2014-02-27 16:55 geoffclare Interp Status => ---
2014-02-27 16:55 geoffclare Status New => Resolved
2014-02-27 16:55 geoffclare Resolution Open => Accepted
2014-02-27 16:56 geoffclare Tag Attached: tc2-2008
2019-06-10 08:55 agadmin Status Resolved => Closed