Commit Graph

555 Commits

Author SHA1 Message Date
Lassi Kortela 7da26c7170 Update Solaris cfmakeraw() emulation
Now it matches the OpenSolaris version of GNU GRUB.
2019-10-14 13:25:35 +03:00
Lassi Kortela c048a8ee6c Shadow ALIGN macro defined by system headers
OpenBSD sys/param.h defines it.
2019-10-14 11:58:20 +03:00
Lassi Kortela 3bd2897129 Fix previous commit 2019-10-14 03:58:30 +03:00
Lassi Kortela 6c02b18076 Finish initial Haiku port 2019-10-14 03:52:46 +03:00
Lassi Kortela 7531e36dcc Add 32-bit, Solaris and Minix to supported platforms 2019-10-14 03:25:27 +03:00
Lassi Kortela 700d70d03b Use unsigned char for boot image
The Minix clang compiler tries to interpret "char []" according to some
character encoding and produces a compiler warning when it encounters byte
sequences that are invalid in that encoding. Avoid the warning by using
_unsigned_ char which it treats as arbitrary bytes.
2019-10-14 03:19:45 +03:00
Lassi Kortela 168555048a Add getpgid() placeholder for Minix 2019-10-14 03:05:01 +03:00
Lassi Kortela 6740eaf611 Add missing stdarg.h include 2019-10-14 02:52:37 +03:00
Lassi Kortela a5735b8967 Add cfmakeraw() emulation 2019-10-14 02:52:25 +03:00
Lassi Kortela a174bba817 Get rid of the float_t and double_t nonsense
Necessitates a big refactoring of the magic macros that make the types.
2019-10-14 02:27:33 +03:00
Lassi Kortela 29fada554c Add c-compiler to version-alist 2019-10-14 01:31:12 +03:00
Lassi Kortela 65dcf2678b Remove unused float helpers 2019-10-14 01:26:23 +03:00
Lassi Kortela d8bd8c2beb Reorganize TOP_BIT constants 2019-10-14 01:22:56 +03:00
Lassi Kortela f80305fd73 Move constants upwards in the file 2019-10-14 01:19:32 +03:00
Lassi Kortela 847184cd4d Re-fix 32-bit vs 64-bit distinction 2019-10-14 01:01:37 +03:00
Lassi Kortela 0c79f04503 Revert "Bubble gum fix to make a 32-bit port easier"
This reverts commit 7143df49bd.
2019-10-14 01:00:07 +03:00
Lassi Kortela a9b126783d Test for 64-bit instead of assuming it 2019-10-14 00:52:30 +03:00
Lassi Kortela 124bd6a140 Fix signed vs unsigned warning on 32-bit 2019-10-14 00:49:42 +03:00
Lassi Kortela 7143df49bd Bubble gum fix to make a 32-bit port easier 2019-10-14 00:47:52 +03:00
Lassi Kortela f3527b178c Implement (features) and (version-alist) 2019-10-14 00:43:31 +03:00
Lassi Kortela b655859822 Add more C-side accum helpers 2019-10-14 00:43:00 +03:00
Lassi Kortela 874ffe9007 Add write_simple_defaults() helper 2019-10-14 00:42:04 +03:00
Lassi Kortela f1248a3b5e Add SRFI 175 import 2019-10-14 00:38:29 +03:00
Lassi Kortela 021e7ab734 Rename flmain.c -> main.c 2019-10-13 23:15:01 +03:00
Lassi Kortela f0245033ca Fix warning that reallocarray() is static 2019-10-13 23:00:28 +03:00
Lassi Kortela f408a0bbcd Use proper variable-length vector for spawn args 2019-10-13 22:58:36 +03:00
Lassi Kortela 34be865a86 Note memory leak 2019-10-13 22:57:27 +03:00
Lassi Kortela 5e9bb704c8 Add string-vector accumulator utility for C 2019-10-13 22:56:45 +03:00
Lassi Kortela bc33a9b728 Update boot image 2019-10-13 21:50:19 +03:00
Lassi Kortela e9998e31f1 Add #t/#f return value for apropos 2019-10-13 21:41:02 +03:00
Lassi Kortela 3e3ea1ca53 Extend runtime option parsing 2019-10-13 20:37:53 +03:00
Lassi Kortela 150d6ff855 Fix bugs in ASCII routines
- Segfault due to wrong return type in map_char_int().
- Treat int value -1 as #f instead of a character.
2019-10-10 02:42:16 +03:00
Lassi Kortela ac2966b78a Fix CentOS CI build 2019-10-02 23:11:33 +03:00
Lassi Kortela d906dc586c Fix compiler warning 2019-10-02 21:41:51 +03:00
Lassi Kortela 51c543b8fe Implement command line help and version flags 2019-09-30 17:08:51 +03:00
Lassi Kortela 515387864b Ensure yes to CI package updates 2019-09-29 12:44:56 +03:00
Lassi Kortela 59ab5ae4e5 Fix compiler warning 2019-09-29 12:40:57 +03:00
Lassi Kortela 6c27f65e21 Fix compiler warning 2019-09-29 12:36:27 +03:00
Lassi Kortela 0d315e320e Add most SRFI 175 ASCII character procedures 2019-09-29 12:32:57 +03:00
Lassi Kortela 738f8bec62 Implement let-values
TODO: Support more than one set of bindings
2019-09-03 10:02:05 +03:00
Lassi Kortela 573d02ac64 Remove vestigial os.getenv procedure 2019-09-02 19:48:17 +03:00
Lassi Kortela fabd2503fa Remove vestigial path.exist? procedure 2019-09-02 19:47:19 +03:00
Lassi Kortela 5f53326df8 Replace path.exists? with file-exists? in C 2019-09-02 19:46:27 +03:00
Lassi Kortela e2af92b934 Fix bug where path.exists? would always return #t 2019-09-02 19:37:46 +03:00
Lassi Kortela cc096b9886 Add Cygwin build to Cirrus CI 2019-09-02 19:08:35 +03:00
Lassi Kortela 4599bf6f07 Update boot image 2019-08-28 21:22:38 +03:00
Lassi Kortela 471d24ce38 Fix sort procedure in base system 2019-08-28 21:22:06 +03:00
Lassi Kortela 50063d4523 Cause compiler error when (if ...) has spurious args 2019-08-28 21:19:39 +03:00
Lassi Kortela aca621c32e Add -Werror compiler flag
Compiler warnings are runtime errors waiting to happen.
2019-08-28 20:51:15 +03:00
Lassi Kortela 2d89603691 List nothing instead of everything in (apropos-list "") 2019-08-28 18:13:14 +03:00