Your message dated Thu, 31 Aug 2023 21:47:20 +0800
with message-id <[email protected]>
and subject line fixed in bookworm
has caused the Debian Bug report #573824,
regarding pngnq: Miss fired warning on option -Q
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
573824: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573824
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pngnq
Version: 1.0-2
Severity: minor
I always get "There's no quantization method f" with option "-Q f".
Caused by macro expansion is not quoted. The following patch fixed it.
diff -urp pngnq-1.0.orig/src/pngnq.c pngnq-1.0/src/pngnq.c
--- pngnq-1.0.orig/src/pngnq.c 2010-03-14 15:46:26.000000000 +0800
+++ pngnq-1.0/src/pngnq.c 2010-03-14 15:47:15.000000000 +0800
@@ -174,7 +174,9 @@ int main(int argc, char** argv)
case 'Q':
if (optarg[0] == 'f') use_floyd = 1;
else if (optarg[0] == 'n') use_floyd = 0;
- else PNGNQ_WARNING("There's no quantization method %s\n",optarg);
+ else {
+ PNGNQ_WARNING("There's no quantization method %s\n",optarg);
+ }
break;
case 'd':
output_directory = optarg;
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable'), (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-3-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=zh_CN.GBK (charmap=GBK)
Shell: /bin/sh linked to /bin/bash
Versions of packages pngnq depends on:
ii libc6 2.10.2-6 Embedded GNU C Library: Shared lib
ii libpng12-0 1.2.43-1 PNG library - runtime
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
pngnq recommends no packages.
pngnq suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
This bug had fixed in 1.1+ds-1.1 on bookworm.
--
肖盛文 xiao sheng wen
https://www.atzlinux.com 《铜豌豆 Linux》基于 Debian 的 Linux 中文 桌面 操作系统
Debian QA page: https://qa.debian.org/developer.php?login=atzlinux%40sina.com
Debian salsa: https://salsa.debian.org/atzlinux-guest
GnuPG Public Key: 0x00186602339240CB
OpenPGP_signature
Description: OpenPGP digital signature
--- End Message ---