Author: Hiltjo Posthuma <firstname.lastname@example.org>
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 @@
+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.
+- 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: suckless.org-style config.mk and Makefile.
+- Allow "y" and "n" aswell for save-buffers-kill-emacs instead of "yes" and "no".+
\ No newline at end of file