about summary refs log tree commit diff
path: root/mlist.c
Commit message (Collapse)AuthorAgeFilesLines
* 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]
* mlist: fix dangling else warningLeah Neukirchen2020-05-151-1/+2
|
* mlist: print number of matches when message selection is in placeLeah Neukirchen2020-04-301-4/+14
|
* mflag: list: don't clobber f when flags and -i is usedLeah Neukirchen2020-04-301-6/+4
|
* mlist: extract DT_* handling, follow symlinksLeah Neukirchen2020-03-081-2/+2
| | | | Closes #172.
* move uc macro to blaze822_priv.hLeah Neukirchen2020-03-081-3/+1
|
* mlist: look at maildir/new too for messagesSebastien Marie2019-08-261-2/+15
| | | | Closes: #165 [via git-merge-pr]
* mlist: listarg: list empty Maildirs if no filtering took placeLeah Neukirchen2018-01-011-1/+1
|
* mlist: list: update total count tooLeah Neukirchen2018-01-011-0/+1
|
* mlist: use a static buffer, clean up control flowLeah Neukirchen2017-10-291-7/+5
|
* use appropriate integer typesLeah Neukirchen2017-10-061-1/+2
| | | | Mainly found with clang -Wconversion -Wshorten-64-to-32.
* styleLeah Neukirchen2017-08-311-10/+10
|
* mlist: extract squeeze_slashLeah Neukirchen2017-07-121-11/+1
|
* mlist: squeeze squeezing codeLeah Neukirchen2017-07-111-3/+2
| | | | Thanks to quinq, who put all their heart in it.
* mlist: squeeze slashes from directory namesLeah Neukirchen2017-07-111-0/+13
| | | | Closes #65.
* mlist: print a total line with -i when usefulLeah Neukirchen2017-02-141-6/+13
|
* mlist: fix usage outputLeah Neukirchen2017-02-141-3/+3
|
* clean up whitespaceLeah Neukirchen2017-01-261-11/+11
|
* mlist: don't use blaze822_loop for the case when arguments are givenLeah Neukirchen2017-01-211-4/+8
| | | | | blaze822_loop replaces directory arguments with all cur/ mails, which is not what we want in mlist.
* mlist: read directory names from stdin when used non-interactivelyChristian Neukirchen2016-12-131-51/+57
| | | | Closes #7.
* mlist: include <sys/syscall.h> only when requiredChristian Neukirchen2016-09-081-1/+2
| | | | Fixes build on cygwin.
* mlist: add usageChristian Neukirchen2016-07-261-3/+11
|
* mlist: styleChristian Neukirchen2016-07-251-1/+1
|
* mlist: cleanupChristian Neukirchen2016-07-221-3/+1
|
* mlist: add -X/-x ala mflagChristian Neukirchen2016-07-221-1/+9
|
* mlist: rename from listChristian Neukirchen2016-07-201-0/+247