Bug 4015 - Incorrect return value given by eval
Incorrect return value given by eval
Status: CLOSED NEXTRELEASE
Product: Red Hat Linux
Classification: Retired
Component: pdksh (Show other bugs)
5.2
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 1999-07-13 06:17 EDT by steve.eames
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 1999-08-20 11:22:15 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description steve.eames 1999-07-13 06:17:51 EDT
Create the following program:

#!/bin/ksh

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 09:04:59 EDT
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
problems.
Comment 2 steve.eames 1999-07-15 06:09:59 EDT
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 12:18:59 EDT
This issue has been forwarded to a developer for further action.

Thanks.
Comment 4 Bill Nottingham 1999-08-20 11:22:59 EDT
pdksh-5.2.14 is in Raw Hide.

Note You need to log in before you can comment on or make changes to this bug.