about summary refs log tree commit diff
path: root/mdirs.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]
* mdirs: extract DT_* handlingLeah Neukirchen2020-03-081-3/+3
|
* mdirs: add -a to list all subfolders, ignoring maildir++ conventionLeah Neukirchen2020-01-221-3/+5
| | | | Based on a patch by Kylie McClain <kylie@somas.is>.
* mdirs: add -0 to separate folders by NUL charactersLeah Neukirchen2019-02-201-3/+6
| | | | | | Idea by Mario Domgoergen <mdom@taz.de>. Closes #159.
* mdirs: reset cwd after each iterationLeah Neukirchen2018-11-131-1/+12
| | | | | Else `mdirs dir1/a dir2/b` fails, as the first iteration remains in `dir1`. Found by milliardo.
* mdirs: use blaze822.hLeah Neukirchen2018-01-251-0/+2
|
* styleLeah Neukirchen2017-08-311-4/+4
|
* clean up whitespaceLeah Neukirchen2017-01-261-2/+2
|
* mdirs: add usageChristian Neukirchen2016-07-261-1/+11
|
* guard DT_* usageChristian Neukirchen2016-07-261-0/+2
| | | | It's a shortcut anyway, just leave it out
* mdirs: need <limits.h>Christian Neukirchen2016-07-231-0/+1
|
* really add mdirsChristian Neukirchen2016-07-221-0/+75