Hi!

----

Compiling and testing ast-ksh.20121024 (on SuSE 12.2) under valgrind
control gives me the following warning when a command substitution is
used in a script:
-- snip --
$ valgrind ~/bin/ksh -c 'x=$(/usr/bin/ls -l )'
==23998== Conditional jump or move depends on uninitialised value(s)
==23998==    at 0x529D1F: spawnvex (spawnvex.c:1033)
==23998==    by 0x471E76: _spawnveg (path.c:146)
==23998==    by 0x475690: path_spawn (path.c:1226)
==23998==    by 0x48DCC7: sh_ntfork (xec.c:3789)
==23998==    by 0x486FB1: sh_exec (xec.c:1644)
==23998==    by 0x47ED86: sh_subshell (subshell.c:598)
==23998==    by 0x45A500: comsubst (macro.c:2133)
==23998==    by 0x456218: varsub (macro.c:1164)
==23998==    by 0x4547EB: copyto (macro.c:630)
==23998==    by 0x452C0E: sh_mactrim (macro.c:178)
==23998==    by 0x45CF97: sh_setlist (name.c:332)
==23998==    by 0x484FBF: sh_exec (xec.c:1134)
==23998==
==23999== Conditional jump or move depends on uninitialised value(s)
==23999==    at 0x529D79: spawnvex (spawnvex.c:1051)
==23999==    by 0x471E76: _spawnveg (path.c:146)
==23999==    by 0x475690: path_spawn (path.c:1226)
==23999==    by 0x48DCC7: sh_ntfork (xec.c:3789)
==23999==    by 0x486FB1: sh_exec (xec.c:1644)
==23999==    by 0x47ED86: sh_subshell (subshell.c:598)
==23999==    by 0x45A500: comsubst (macro.c:2133)
==23999==    by 0x456218: varsub (macro.c:1164)
==23999==    by 0x4547EB: copyto (macro.c:630)
==23999==    by 0x452C0E: sh_mactrim (macro.c:178)
==23999==    by 0x45CF97: sh_setlist (name.c:332)
==23999==    by 0x484FBF: sh_exec (xec.c:1134)
==23999==
==23998== Conditional jump or move depends on uninitialised value(s)
==23998==    at 0x52A0DE: spawnvex (spawnvex.c:1125)
==23998==    by 0x471E76: _spawnveg (path.c:146)
==23998==    by 0x475690: path_spawn (path.c:1226)
==23998==    by 0x48DCC7: sh_ntfork (xec.c:3789)
==23998==    by 0x486FB1: sh_exec (xec.c:1644)
==23998==    by 0x47ED86: sh_subshell (subshell.c:598)
==23998==    by 0x45A500: comsubst (macro.c:2133)
==23998==    by 0x456218: varsub (macro.c:1164)
==23998==    by 0x4547EB: copyto (macro.c:630)
==23998==    by 0x452C0E: sh_mactrim (macro.c:178)
==23998==    by 0x45CF97: sh_setlist (name.c:332)
==23998==    by 0x484FBF: sh_exec (xec.c:1134)
-- snip --

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) roland.ma...@nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 3992797
 (;O/ \/ \O;)
_______________________________________________
ast-developers mailing list
ast-developers@research.att.com
https://mailman.research.att.com/mailman/listinfo/ast-developers

Reply via email to