Subject: bin/11361: apply pdksh-5.2.14 bugfix patch before 1.5 ships
To: None <>
From: Matthias Buelow <>
List: netbsd-bugs
Date: 11/01/2000 16:14:12
>Number:         11361
>Category:       bin
>Synopsis:       apply pdksh-5.2.14 bugfix patch before 1.5 ships
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Nov 01 16:14:00 PST 2000
>Originator:     Matthias Buelow
>Release:        1.5_BETA
System: NetBSD 1.5_BETA NetBSD 1.5_BETA (ALTAIR) #0: Mon Oct 30 22:37:09 CET 2000 i386


While /bin/ksh (aka. pdksh) has been upgraded to 5.2.14 for NetBSD 1.5,
there's a patch out on the pdksh ftp site, eliminating 3 bugs, of which
at least one is (imho) quite annoying.  The patchfile states:

Here are patches for 3 significant bugs in pdksh-5.2.14:
    - set -x dumps core (shf.c);
    - output of "jobs" command is filled with ^A characters (jobs.c);
    - "typeset -r foo=bar" fails saying foo is readonly (var.c).

It would be nice if this patch were integrated before 1.5 was released.
The patch is available at the following URL:


Apply the patch provided by the pdksh maintainer.