port of mg editor (openbsd to linux)
Log | Files | Refs | README

commit b8b5a3a5754b917118bbbaf4f957d3cec29bdb76
parent ee6c9916abe1490c9a80acbce5cbd7fa304be92b
Author: Hiltjo Posthuma <>
Date:   Fri, 28 Nov 2014 19:09:15 +0100

add CHANGES: describing changes with upstream

CHANGES | 30++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+), 0 deletions(-)

diff --git a/CHANGES b/CHANGES @@ -0,0 +1,29 @@ +CHANGES +======= + +This describes the changes made compared to upstream OpenBSD mg. + +I will try to keep the changes as minimal as possible to make synching with +the upstream release low-maintainance. My intention is to update this atleast +every OpenBSD release. + + +Compatibility: +-------------- +- libopenbsd / libutil: + - Add OpenBSD libc / libutil functions: strtonum, reallocarray, strlcpy, + strlcat, fparseln, arc4random(hack). NOTE: arc4random is a hack because it + is only used to generate random quotes for theo.c. Using arc4random from + libressl would make building mg more complex and bloat it up alot with + little benefit (linking against libressl / OpenSSL). +- Timespec changes for struct stat. +- Ignore REG_STARTEND for compatibility with Musl libc. At the time of writing + it doesn't support the REG_STARTEND flag for regexec() (non-POSIX). + NOTE: there are differences in glibc's REG_STARTEND implementation compared + to OpenBSD aswell. So expect it to be behave a bit differently. +- Makefile: and Makefile. + + +Features: +--------- +- Allow "y" and "n" aswell for save-buffers-kill-emacs instead of "yes" and "no".+ \ No newline at end of file