Commit Graph

16 Commits (master)

Author SHA1 Message Date
Tim Kuijsten 4763032430 pledge(2) all programs
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]
4 years ago
Leah Neukirchen 92bb41fa73 msort: order: remove dead assignment
Found by scan-build/clang 10.0.0
4 years ago
Leah Neukirchen 66d0eff12f style 7 years ago
Leah Neukirchen 2b4e3aa66d clean up whitespace 7 years ago
Christian Neukirchen 524ee12795 msort: add -U and -I to sort by flags 8 years ago
Christian Neukirchen eb09650bba msort: check realloc 8 years ago
Christian Neukirchen 2682ebf110 msort: add usage 8 years ago
Christian Neukirchen 9c172de1f5 msort: don't let fileorder fallback 8 years ago
Christian Neukirchen 2885988c5a str*casecmp is in <strings.h> 8 years ago
Christian Neukirchen a705f8c3fa msort: fix sizeof 8 years ago
Christian Neukirchen 6eee176a8d msort: remove diagnostics 8 years ago
Christian Neukirchen e086b83875 msort: allow multiple orderings (first different wins)
Also extract mystrverscmp.c into a seperate file.
8 years ago
Christian Neukirchen 182a32ff9d blaze822: blaze822_addr: return 0 when no address is found
Also return null pointers instead of empty strings.
8 years ago
Christian Neukirchen a9e51a214b msort: use blaze822_loop1 8 years ago
Christian Neukirchen d72696a16b msort: default to all messages when interactive w/o args 8 years ago
Christian Neukirchen 35a8001db2 add msort 8 years ago