[Pkg-haskell-maintainers] Bug#631423: unexpected result of closed stderr with System.Log.Logger
Joey Hess
joeyh at debian.org
Thu Jun 23 18:00:51 UTC 2011
Package: libghc-hslogger-dev
Version: 1.1.4+dfsg1-1
Severity: wishlist
Sometimes I close stderr in a child process just before it runs a noisy
command. Perhaps it's generally better to reopen stderr to /dev/null,
but closing it often works.
Unless the command is run by something in System.Cmd.Utils, and
debugging is turned on. Then my program just silently exits.
I think that all things considered, when faced with a debug message
to output, and no stderr to write to, it would be better for hslogger
to skip the message, rather than throw an exception.
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages libghc-hslogger-dev depends on:
ii ghc [libghc-unix-dev-2.4. 7.0.3-1 The Glasgow Haskell Compilation sy
ii libc6 2.13-7 Embedded GNU C Library: Shared lib
ii libffi5 3.0.9-7 Foreign Function Interface library
pn libghc-base-dev-4.3.1.0-7 <none> (no description available)
pn libghc-containers-dev-0.4 <none> (no description available)
pn libghc-directory-dev-1.1. <none> (no description available)
ii libghc-mtl-dev [libghc-mt 2.0.1.0-2+b1 Haskell monad transformer library
ii libghc-network-dev [libgh 2.3.0.2-1+b1 Haskell network library for GHC
pn libghc-old-locale-dev-1.0 <none> (no description available)
pn libghc-process-dev-1.0.1. <none> (no description available)
pn libghc-time-dev-1.2.0.3-a <none> (no description available)
ii libgmp10 2:5.0.1+dfsg-7 Multiprecision arithmetic library
libghc-hslogger-dev recommends no packages.
Versions of packages libghc-hslogger-dev suggests:
pn libghc-hslogger-doc <none> (no description available)
ii libghc-hslogger-prof 1.1.4+dfsg1-1 The Haskell Logging Framework, GHC
-- no debconf information
--
see shy jo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 828 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-haskell-maintainers/attachments/20110623/19ae4277/attachment.pgp>
More information about the Pkg-haskell-maintainers
mailing list