Bug 4015

Summary: Incorrect return value given by eval
Product: [Retired] Red Hat Linux Reporter: steve.eames
Component: pdkshAssignee: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2   
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-08-20 15:22:15 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description steve.eames 1999-07-13 10:17:51 UTC
Create the following program:


exit 1

Entering eval `prog` should return 1, but it returns 0.

Version of ksh: PD KSH v5.2.12 96/10/29

Comment 1 Jay Turner 1999-07-13 13:04:59 UTC
Try upgrading to the latest version of pdksh (5.2.13) and see if that
affects the outcome.  Reopen this bug if you are still having

Comment 2 steve.eames 1999-07-15 10:09:59 UTC
I tried installing an updated RPM (version 5.2.13) which also gave
the same results.

After trawling the news groups, I found the answer. on the PD KSH web
site, they have noted the problem and issued a revised version
(5.2.14). This is obviously not in a RPM, but it compiles and
installs easily. It has also solved my problem.

( Go to http://www.cs.mun.ca/~michael/pdksh/ for further information )

Comment 3 Jay Turner 1999-07-19 16:18:59 UTC
This issue has been forwarded to a developer for further action.


Comment 4 Bill Nottingham 1999-08-20 15:22:59 UTC
pdksh-5.2.14 is in Raw Hide.