Your message dated Wed, 19 Mar 2008 03:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#466574: fixed in most 5.0.0a-1
has caused the Debian Bug report #466574,
regarding most does not open LZMA encrypted files
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.)


-- 
466574: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=466574
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: most
Version: 4.10.2-5
Tags: patch
Severity: wishlist

Most currently does not support opening LZMA encrypted file. The
current patch should fix this.

Regards,
Mako

-- 
Benjamin Mako Hill
[EMAIL PROTECTED]
http://mako.cc/

Creativity can be a social contribution, but only in so far
as society is free to use the results. --GNU Manifesto
diff -rNu most-4.10.2-orig/changes.txt most-4.10.2/changes.txt
--- most-4.10.2-orig/changes.txt        2008-01-14 14:23:35.412040574 +0000
+++ most-4.10.2/changes.txt     2008-01-14 14:37:52.586462261 +0000
@@ -1,3 +1,6 @@
+Changes since 4.10.1-lzma-1
+1. src/file.c:open_compressed_file: added support for lzma compressed files
+
 Changes since 4.10.1
 1. src/window.c:most_read_from_minibuffer: An variable was not being
    initialized. (Kevin Oberman, oberman at es, net).
diff -rNu most-4.10.2-orig/src/file.c most-4.10.2/src/file.c
--- most-4.10.2-orig/src/file.c 2008-01-14 14:23:35.418706782 +0000
+++ most-4.10.2/src/file.c      2008-01-14 14:54:25.578216198 +0000
@@ -63,7 +63,7 @@
 static int open_compressed_file(char *file, int mode, int *size)
 {
    int fd;
-   char buf[4], cmdbuf[512 + MAX_PATHLEN];
+   char buf[6], cmdbuf[512 + MAX_PATHLEN];
    struct stat st;
 
 # ifdef O_BINARY
@@ -83,7 +83,7 @@
 
    if (fd < 0) return fd;
 
-   if (4 == read(fd, buf, 4))
+   if (6 == read(fd, buf, 6))
      {
        char *cmd = NULL;
 
@@ -99,6 +99,13 @@
          {
             cmd = MOST_BZIP2_POPEN_FORMAT;
          }
+       else if ((buf[0] == (char) 0xff)
+           && (buf[1] == 'L') && (buf[2] == 'Z')
+           && (buf[3] == 'M') && (buf[4] == 'A')
+           && (buf[5] == (char) 0x00))
+         {
+            cmd = MOST_LZMA_POPEN_FORMAT;
+         }
        
        if (cmd != NULL)
          {
diff -rNu most-4.10.2-orig/src/file.h most-4.10.2/src/file.h
--- most-4.10.2-orig/src/file.h 2008-01-14 14:23:35.438705407 +0000
+++ most-4.10.2/src/file.h      2008-01-14 14:40:13.140135660 +0000
@@ -3,6 +3,7 @@
 #define MOST_MAX_FILES 4096
 #define MOST_GUNZIP_POPEN_FORMAT "gzip -dc '%s'"
 #define MOST_BZIP2_POPEN_FORMAT "bzip2 -dc '%s'"
+#define MOST_LZMA_POPEN_FORMAT "lzma -dc '%s'"
 
 extern void most_reread_file (void);
 extern void most_read_to_line (int);

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
Source: most
Source-Version: 5.0.0a-1

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

most_5.0.0a-1.diff.gz
  to pool/main/m/most/most_5.0.0a-1.diff.gz
most_5.0.0a-1.dsc
  to pool/main/m/most/most_5.0.0a-1.dsc
most_5.0.0a-1_i386.deb
  to pool/main/m/most/most_5.0.0a-1_i386.deb
most_5.0.0a.orig.tar.gz
  to pool/main/m/most/most_5.0.0a.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.
Benjamin Mako Hill <[EMAIL PROTECTED]> (supplier of updated most 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: Tue, 26 Feb 2008 21:37:34 -0500
Source: most
Binary: most
Architecture: source i386
Version: 5.0.0a-1
Distribution: unstable
Urgency: low
Maintainer: Benjamin Mako Hill <[EMAIL PROTECTED]>
Changed-By: Benjamin Mako Hill <[EMAIL PROTECTED]>
Description: 
 most       - Pager program similar to more and less
Closes: 362526 373230 409737 437578 453439 466574 470659
Changes: 
 most (5.0.0a-1) unstable; urgency=low
 .
   * New upstream release. Closes: #453439, #470659
   * Added support for opening LZMA files. Closes: #466574
   * Fixed stripping. Closes: #437578
   * Fixed crashing with many carriage returns. Closes: #409737
   * Fixed goto and goto percent. Closes: #373230
   * Fix pseudo-quitting when viewing many files. Closes: #362526
   * Updated policy to 3.7.3.
Files: 
 3fdc51c03e3cd8f2fa20deeee7e7a840 567 text optional most_5.0.0a-1.dsc
 30f2131b67f61716f6fe1f65205da48b 155233 text optional most_5.0.0a.orig.tar.gz
 07e3eb05ad5524fe6d885f5cdc2eb902 20160 text optional most_5.0.0a-1.diff.gz
 db6a30321075dc0b78ef4a733e23b968 46996 text optional most_5.0.0a-1_i386.deb

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

iD8DBQFH4IoAic1LIWB1WeYRAon9AKCJGXJ7kCfOt/gRBH1pNvcuulXbfwCfSl9e
CWeinuSq2njHWG9zlAFYKS8=
=Uo9c
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to