summaryrefslogtreecommitdiff
path: root/system/pdksh/patches/103_PLD-pdksh-unset.patch
diff options
context:
space:
mode:
authorDaniel LEVAI <leva@ecentrum.hu>2010-11-10 22:15:55 -0600
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-22 19:44:10 +0100
commita208cc7bde7a9841e88840e64886f859b523ccd3 (patch)
treeb87d285dd71481324b3f68a355fe10956e185c38 /system/pdksh/patches/103_PLD-pdksh-unset.patch
parent6e55b80a3c5f74f63f5152c929b4bf272081b112 (diff)
downloadslackbuilds-a208cc7bde7a9841e88840e64886f859b523ccd3.tar.gz
system/pdksh: Removed (use system/ksh instead)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/pdksh/patches/103_PLD-pdksh-unset.patch')
-rw-r--r--system/pdksh/patches/103_PLD-pdksh-unset.patch26
1 files changed, 0 insertions, 26 deletions
diff --git a/system/pdksh/patches/103_PLD-pdksh-unset.patch b/system/pdksh/patches/103_PLD-pdksh-unset.patch
deleted file mode 100644
index 9f17b9409b..0000000000
--- a/system/pdksh/patches/103_PLD-pdksh-unset.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-unset on unknown variable is not an error,
-see http://www.opengroup.org/onlinepubs/009695399/utilities/unset.html
-(from PLD)
-
-Index: pdksh-5.2.14/c_sh.c
-===================================================================
---- pdksh-5.2.14.orig/c_sh.c 2008-04-15 20:51:18.000000000 +0200
-+++ pdksh-5.2.14/c_sh.c 2008-04-15 20:56:22.000000000 +0200
-@@ -688,16 +688,13 @@
- if (unset_var) { /* unset variable */
- struct tbl *vp = global(id);
-
-- if (!(vp->flag & ISSET))
-- ret = 1;
- if ((vp->flag&RDONLY)) {
- bi_errorf("%s is read only", vp->name);
- return 1;
- }
- unset(vp, strchr(id, '[') ? 1 : 0);
- } else { /* unset function */
-- if (define(id, (struct op *) NULL))
-- ret = 1;
-+ define(id, (struct op *) NULL);
- }
- return ret;
- }