Fix ${name:?word} substitution. Bump PORTREVISION.

Submitted by:	Marc Olzheim (marcolz at stack dot nl)
Obtained from:	OpenBSD PR user/4023
This commit is contained in:
Thomas Gellekum 2005-11-02 12:24:31 +00:00
parent 1a0652eef3
commit d1ef1a5423
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=147014
2 changed files with 12 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= pdksh
PORTVERSION= 5.2.14p2
PORTREVISION= 1
CATEGORIES= shells
MASTER_SITES= ftp://ftp.cs.mun.ca/pub/pdksh/ \
http://gd.tuwien.ac.at/utils/shells/pdksh/ \

View file

@ -0,0 +1,11 @@
Index: eval.c
--- eval.c 25 Nov 2004 04:36:47 -0000 1.15
+++ eval.c 7 Dec 2004 16:20:20 -0000
@@ -792,6 +792,7 @@
}
if (e->loc->argc == 0) {
xp->str = null;
+ xp->var = global(sp);
state = c == '@' ? XNULLSUB : XSUB;
} else {
xp->u.strv = (const char **) e->loc->argv + 1;