diff options
author | Daniel LEVAI <leva@ecentrum.hu> | 2012-11-19 14:26:37 -0600 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2012-11-19 16:52:08 -0600 |
commit | f5e7485b6c8bfe3ea57ba4f5334fb963353e91d7 (patch) | |
tree | fde24af9290c0c090ef2af186340b63ba4161985 /system/ksh-openbsd/patches/linux/eval_c.diff | |
parent | fb80020f10a2063b7273ffe8e4d18a1caed70028 (diff) | |
download | slackbuilds-f5e7485b6c8bfe3ea57ba4f5334fb963353e91d7.tar.gz |
system/ksh-openbsd: Added (OpenBSD's pdksh ported to Linux)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ksh-openbsd/patches/linux/eval_c.diff')
-rw-r--r-- | system/ksh-openbsd/patches/linux/eval_c.diff | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/system/ksh-openbsd/patches/linux/eval_c.diff b/system/ksh-openbsd/patches/linux/eval_c.diff new file mode 100644 index 0000000000..9d580d8a63 --- /dev/null +++ b/system/ksh-openbsd/patches/linux/eval_c.diff @@ -0,0 +1,19 @@ +--- ksh.orig/eval.c.orig 2011-03-27 14:33:38.000000000 +0200 ++++ ksh/eval.c 2011-03-27 15:08:25.986119913 +0200 +@@ -8,6 +8,7 @@ + #include <pwd.h> + #include <dirent.h> + #include <sys/stat.h> ++#include "strlcpy.h" + + /* + * string expansion +@@ -692,7 +693,7 @@ + int c; + int state; /* next state: XBASE, XARG, XSUB, XNULLSUB */ + int stype; /* substitution type */ +- int slen; ++ int slen = 0; + char *p; + struct tbl *vp; + |