nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] mhfixmsg on a pathological mail

2017-08-18 10:16:52


Den 18. aug. 2017 16:11, skrev Ralph Corderoy:
Hi Håkon,

$ mhlist -version
mhlist -- nmh-1.7-RC2 built 2017-08-18 11:32:04 +0000 on garbo
$ mhlist 1
mhlist: bogus multipart content in message 1
 msg part  type/subtype              size description
   1       multipart/mixed            32K

And yet I got

    $ mhlist -file 9707.2.email
     msg part  type/subtype              size description
    9707       multipart/mixed            31K

Which is smaller.  Update: You pointed out the carriage returns.  Can
you send the problem email as a .tar.gz or something that will leave
everything alone.

compiler flags             :  -g -ansi -pedantic...

That was recently relaxed on master to from ANSI to C99.

checking for lockfile_create in -llockfile... yes
sbr/lock_file.c:587:54: warning: unused parameter ‘isnewlock’
[-Wunused-parameter]

I've just pushed bb8a2556 that stops this warning.

sbr/fmt_scan.c:76:13: warning: comparison between signed and unsigned
integer expressions [-Wsign-compare]

That was fixed recently.  Looks like more commits might need
cherry-picking across to the 1.7-release branch.


11.tar:  unknown suffix -- unchanged
tar: This does not look like a tar archive
tar: Exiting with failure status due to previous errors
FAIL: test/post/test-sendfiles

This is odd.  Can you give any insight?  Or after it fails, try «script
-c 'sh -x test/post/test-sendfiles'» and pass us ./typescript.

Appending typescript.
I checked 11.tar with file(1)
$ file ./test/testdir/tmp/11.tar
./test/testdir/tmp/11.tar: LZMA compressed data, streamed
$

Trying by hand gives:
$ unlzma ./test/testdir/tmp/11.tar
./test/testdir/tmp/11.tar:  unknown suffix -- unchanged

Changing file-name to 11.tar.lzma lets unlzma decompress it.

My lzma command comes from debian package  lzma-9.22-2. Details on that:

---------
Package: lzma
Version: 9.22-2
Installed-Size: 144
Maintainer: Mohammed Adnène Trojette <adn+deb(_at_)diwi(_dot_)org>
Architecture: amd64
Depends: libc6 (>= 2.3), libgcc1 (>= 1:4.1.1), libstdc++6 (>= 4.4.0)
Conflicts: xz-lzma (<< 5.1.1alpha+20110809-2)
Description-en: Compression and decompression in the LZMA format -
command line utility
 The Lempel-Ziv Markov-chain Algorithm is a compression method based on
 the famous LZ77 algorithm, and was first introduced by 7-Zip for use in
 7z archives.
 .
 Its main characteristics are a very high compression ratio, with high RAM
 usage, and fast decompression, with low RAM usage. These properties make
 it well suited to embedded uses, such as for ROM (firmware) compression.
 .
 This package provides the lzma command line utility, which has a
 familiar gzip-like interface.
Description-md5: 58408f7f3feb10af77dc1ba3f87866f1
Homepage: http://www.7-zip.org/sdk.html
Tag: implemented-in::c, interface::commandline, role::program,
 scope::utility, use::compressing, use::storing, works-with::archive,
 works-with::file
Section: utils
Priority: optional
Filename: pool/main/l/lzma/lzma_9.22-2_amd64.deb
Size: 55256
MD5sum: b6a645ba5d54ea202fda651681133046
SHA1: 18d21473adb955be895afdda7baa3c982dbccc08
SHA256: 4d8768647acb784efc5b2e441abe58e336b2724ea9f4dadf675b1123e0acd170

--------------

Attachment: typescript
Description: Text document

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>