Bug#448187: apt-cdrom ident: trailing space after label
Package: apt
Version: 0.7.6
Severity: minor
Tags: patch
While working on support for multiple CDs in D-I, I stumbled over
trailing whitespace in the output of 'apt-cdrom ident'.
The trivial patch below fixes that.
--- cdrom.cc.orig 2007-10-26 20:51:28.000000000 +0200
+++ cdrom.cc 2007-10-26 20:51:48.000000000 +0200
@@ -560,7 +560,7 @@
}
if(log) {
msg.str("");
- ioprintf(msg, _("Stored label: %s \n"),
+ ioprintf(msg, _("Stored label: %s\n"),
Database.Find("CD::"+ident).c_str());
log->Update(msg.str());
}
-- Package-specific info:
-- (no /etc/apt/preferences present) --
-- (/etc/apt/sources.list present, but not submitted) --
-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23+cfs (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 apt depends on:
ii debian-archive-keyring 2007.07.31 GnuPG archive keys of the Debian a
ii libc6 2.6.1-6 GNU C Library: Shared libraries
ii libgcc1 1:4.2.2-3 GCC support library
ii libstdc++6 4.2.2-3 The GNU Standard C++ Library v3
apt recommends no packages.
-- no debconf information
Reply to: