Your message dated Sun, 22 Apr 2007 13:02:02 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#280671: fixed in a2ps 1:4.13c~rc4-1
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: a2ps
Version: 4.13b-16
Severity: normal

$ echo "Hello" > datarows
$ file datarows 
datarows: ASCII text
$ a2ps --guess datarows 
[datarows (binary)]
$ mv datarows foo
$ file foo      
foo: ASCII text
$ a2ps --guess foo      
[foo (plain)]
$ mv foo s.xml
$ file s.xml 
s.xml: ASCII text
$ a2ps --guess s.xml 
[s.xml (binary)]

It looks like the guessing algorithm in a2ps relies too much
on filenames.
Actually, looking at /usr/share/a2ps/sheets/sheets.map , I found the
following rules:

|  # Some binary files we probably don't want to print
|  binary: /*tar*/
|          /*.tar/
|          /*.tgz/
|          /*.[ao]/
|          <ELF*>
|          <data>
|          <PA-RISC*>

I think that the first rule is really too broad, as (IIUC) it
matches *any* file whose name contains the string "tar".

Among other things, I cannot figure out which is the origin of this
rule... Why should a file be considered binary, whenever its name
includes the string "tar"?

Another rule that seems slightly too broad is the following one:

|  # SCCS files
|  binary: /[sp].*/
|          /*\/[sp].*/

Any file whose name begins with "s." or "p." is blindly judged to be
binary. Why?


I tested this with Woody's a2ps (version 4.13b-16), but
the same issue seems to affect latest Sid version, as well
(that is version 1:4.13b-4.1), as its
/usr/share/a2ps/sheets/sheets.map still includes the above
mentioned rules.


-- System Information
Debian Release: 3.0
Architecture: i386
Kernel: Linux neverland 2.4.27 #1 Mon Aug 9 23:52:28 CEST 2004 i686
Locale: LANG=C, LC_CTYPE=

Versions of packages a2ps depends on:
ii  debianutils                 1.16.2woody1 Miscellaneous utilities specific t
ii  libc6                       2.2.5-11.5   GNU C Library: Shared libraries an
ii  libpaperg                   1.1.8        Library for handling paper charact
ii  psutils                     1.17-15      A collection of PostScript documen



--- End Message ---
--- Begin Message ---
Source: a2ps
Source-Version: 1:4.13c~rc4-1

We believe that the bug you reported is fixed in the latest version of
a2ps, which is due to be installed in the Debian FTP archive:

a2ps_4.13c~rc4-1.diff.gz
  to pool/main/a/a2ps/a2ps_4.13c~rc4-1.diff.gz
a2ps_4.13c~rc4-1.dsc
  to pool/main/a/a2ps/a2ps_4.13c~rc4-1.dsc
a2ps_4.13c~rc4-1_i386.deb
  to pool/main/a/a2ps/a2ps_4.13c~rc4-1_i386.deb
a2ps_4.13c~rc4.orig.tar.gz
  to pool/main/a/a2ps/a2ps_4.13c~rc4.orig.tar.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Masayuki Hatta (mhatta) <[EMAIL PROTECTED]> (supplier of updated a2ps package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Sun, 11 Feb 2007 20:35:46 +0700
Source: a2ps
Binary: a2ps
Architecture: source i386
Version: 1:4.13c~rc4-1
Distribution: unstable
Urgency: low
Maintainer: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Changed-By: Masayuki Hatta (mhatta) <[EMAIL PROTECTED]>
Description: 
 a2ps       - GNU a2ps - 'Anything to PostScript' converter and pretty-printer
Closes: 280671 286571 291749 305920 309605 311240 323361 341116 360116 360119 
368829 380143 390125 404053
Changes: 
 a2ps (1:4.13c~rc4-1) unstable; urgency=low
 .
   * New upstream release.
   * Improved rules in sheets.map - closes: #280671
   * Now depends on file and psutils - closes: #341116, #360116, #309605
   * Fixed a typo in ogonkify.1 - closes: #311240
   * Added rlpr support - closes: #360119
   * Added PHP support - closes: #380143
   * Now supports newer GV - closes: #390125, #291749, #323361
   * Now supports CP1251 - closes: #286571
   * Now takes care of /usr/share/info/dir - closes: #368829, #404053
   * Now pdiff accepts data on standard input - closes: #305920
   * Now Build-Depends: texlive-base-bin, instead of tetex-bin.
   * Bumped to Standards-Version: 3.7.2.
Files: 
 07563f9fba74505e1f6289596d6ce4fa 758 text optional a2ps_4.13c~rc4-1.dsc
 c8da7f7752fa90212a442bc4bba4d837 1689085 text optional 
a2ps_4.13c~rc4.orig.tar.gz
 64edee1daf44cd8574a7f87bda54f322 22440 text optional a2ps_4.13c~rc4-1.diff.gz
 02ce187ea4a27a5ff6463dc88f2aec2b 688068 text optional a2ps_4.13c~rc4-1_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFGK1o7y2+jQOcHWlQRApJ7AJ9S4guVJp27Vdva7f/TdxYY0G1WlwCfaQPo
vTEbQ2ICbzXDinj7z4iz/Dg=
=9Gzz
-----END PGP SIGNATURE-----


--- End Message ---

Reply via email to