about summary refs log tree commit diff
path: root/mhdr.c
Commit message (Collapse)AuthorAgeFilesLines
* include strings.h for str(n)casecmpMichael Forney2020-09-251-0/+1
| | | | | | These POSIX functions are declared in strings.h, so include this header explicitly instead of relying on the libc's default feature-test macros to include it through string.h.
* pledge(2) all programsTim Kuijsten2020-09-061-0/+3
| | | | | | | | | | | | | | | | All programs except mshow have a very tight set of promises. mshow has a broad set of promises and might be a good future candidate to further restrict using unveil(2). This patch is based on commit 0300a112 by Alex Holst (dated 2017-12-07), which was proposed in GH PR #79. * pledged mpick, mflow and mdate so that now all programs are pledged * removed some unneeded promises and added some missing promises * move err.h include and OpenBSD ifdef into a new xpledge.h * cleaned up code aligning and whitespace Closes: #179 [via git-merge-pr]
* whitespace fixesLeah Neukirchen2018-05-231-1/+1
|
* maddr, mhdr: requote display names when neededLeah Neukirchen2018-05-231-3/+28
|
* mhdr: use strncasecmp to fix -M -h ReceivedLeah Neukirchen2018-04-231-1/+1
|
* mhdr: do not return void valuesLeah Neukirchen2017-10-061-4/+8
|
* mhdr: add -p to extract MIME parametersLeah Neukirchen2017-09-061-2/+14
|
* styleLeah Neukirchen2017-08-311-3/+3
|
* mhdr: cast printing of time_tLeah Neukirchen2017-05-271-1/+1
|
* mhdr: print_addresses: addr is sufficient for -HLeah Neukirchen2017-01-211-1/+1
|
* mhdr: print_addresses: first decode RFC2047, then parse addressLeah Neukirchen2017-01-211-11/+12
|
* mhdr: -H to print file nameChristian Neukirchen2016-08-171-2/+15
|
* mhdr: set exit status to 1 when no header was foundChristian Neukirchen2016-08-081-2/+10
|
* mhdr: typoChristian Neukirchen2016-07-281-1/+1
|
* mhdr: almost-rewrite, use getoptChristian Neukirchen2016-07-281-43/+145
|
* mhdr: use blaze822_loop1Christian Neukirchen2016-07-231-5/+3
|
* mhdr: default to current message when interactive w/o argsChristian Neukirchen2016-07-201-3/+12
|
* mthread: rename from threadChristian Neukirchen2016-07-201-0/+82