tags 499139 +help
thanks

Hi,

I verified #499139 with mksh, pdksh and – interestingly enough – AT&T ksh93
on Debian GNU/Linux testing/unstable.

I wonder if the file descriptor magic of debconf is at fault here instead,
as, usually, the ksh93 behaviour is “right”.

As I barely know debconf at all, I have slight problems what exactly is
going on. With modified scripts (sh → mksh in both, a 3>&3 added, and
an initial “print test-ksh running: "$0 $*"” and “set -x”) I get this:

[EMAIL PROTECTED]:~ $ ./test-ksh
test-ksh running: ./test-ksh
+ . /usr/share/debconf/confmodule
+ [ !  ]
+ PERL_DL_NONLAZY=1
+ export PERL_DL_NONLAZY
+ [  ]
+ exec /usr/share/debconf/frontend ./test-ksh
debconf: DbDriver "passwords" warning: could not open 
/var/cache/debconf/passwords.dat: Permission denied
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z  ]
+ exec
+ 3>&1
+ [  ]
+ exec
+ >&2
+ DEBCONF_REDIR=1
+ export DEBCONF_REDIR
+ ./run-test
+ 3>&3
run-test running: ./run-test
+ . /usr/share/debconf/confmodule
+ [ ! 1 ]
+ [ -z 1 ]
+ db_get dictionaries-common/default-ispell
./run-test[7]: >&3 : bad file descriptor

I decided to add the help tag instead of cloning twice and assigning the
duplicates to pdksh and ksh93, but maybe someone can tell me, us, what is
going on there, and maybe the pdksh and ksh93 maintainers can join in?
(Is there a way to let them know of this bug report automatically? I just
chime in this early due to a private mail from the originator…)

bye,
//mirabilos
-- 
Sometimes they [people] care too much: pretty printers [and syntax highligh-
ting, d.A.] mechanically produce pretty output that accentuates irrelevant
detail in the program, which is as sensible as putting all the prepositions
in English text in bold font.   -- Rob Pike in "Notes on Programming in C"



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to