Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [day] [month] [year] [list]
Date: Thu, 14 Jun 2012 15:30:28 +0200
From: Frank Dittrich <>
Subject: Write list of encodings to stdout if there is no error

What do you think of the attached patch?

I just added FILE * stream as a listEncodings() parameter, and used
stdout for all callers which used exit(0) afterwards, and stderr for the
one that used error() afterwards.

So, unless you use --encoding=<invalid_encoding>, the list gets written
to stdout.

The bash completion script works without any changes.
Are there any other applications parsing the output of listEncodings()?
What do you think of this patch?


View attachment "0001-Write-the-list-of-encodings-to-stdout-instead-of-std.patch" of type "text/x-patch" (2897 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.