Package: libruby1.8
Version: 1.8.7.72-3.1
Severity: normal

Hi!

I noticed that  /usr/lib/ruby/1.8/tempfile.rb  sends debug output
(when $DEBUG is true) to $stdout.
See the following two lines:

  print "removing ", path, "..." if $DEBUG

and

  print "done\n" if $DEBUG


I think that this is a bug, since this behavior could mess up with
the normal output and produce wrong results, whenever the normal
output is intended to be machine-readable.

It is my understanding that this behavior is unintentional: debug
output (when enabled with the $DEBUG variable) should be directed
to $stderr .

Please fix those two lines so that they send debug output to
$stderr and forward this bug report upstream, as appropriate.

Thanks in advance.



-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (800, 'testing'), (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.26-2-amd64 (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/bash

Versions of packages libruby1.8 depends on:
ii  libc6                  2.9-4             GNU C Library: Shared libraries
ii  libncurses5            5.7+20090404-1    shared libraries for terminal hand
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

libruby1.8 recommends no packages.

libruby1.8 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to