Alex Shinn
a559aec9bc
pass '() as user exception irritants, not NULL
2020-07-30 18:11:57 +09:00
Alex Shinn
cd7480ce45
fixing image search path loading after switching to snprintf
2020-06-23 10:35:12 +09:00
Alex Shinn
95310e5823
no more strcpy/sprintf (issue #653 )
2020-05-27 18:35:18 +09:00
Alexei Lozovsky
24f207115c
Hide unnecessarily exported symbols
...
gc_heap_err_str and load_image_header() are never used outside of
gc_heap.c but they are not marked static and are effectively exported
by Chibi's shared library. Since this is unlikely to be intentional,
let's hide them.
2020-02-02 16:59:57 +02:00
Alex Shinn
0efa071672
use PRId64/32 where available for printing fixnums (issue #479 )
2018-06-29 22:44:16 +08:00
okuoku
e092923aac
Win32: Fix win32 port
...
Try to fix win32 port. Now it runs both on Win32/Win64.
Win64 port currently depends on 128bits arithmetic thus it does not run on
MSVC.
Makefile now have EXCLUDE_POSIX_LIBS knob to exclude posix related library
from build.
Introduce msys PLATFORM for Makefile.detect to use MSYS's POSIX
emulation layer. It is intended for linking against MSYS tools; it is
not for embedding to Win32 applications.
2017-11-11 04:31:06 +09:00
Alex Shinn
9abf508800
removing unused var (issue #364 )
2016-06-21 05:03:27 +09:00
Alex Shinn
021c7dd0d2
Use strstr instead of strnstr.
2016-06-16 23:01:10 +09:00
Alex Shinn
c953f2ed1d
Check the module search path to handle relocated shared libraries
...
when loading an image. Fixes issue #345 .
2016-06-15 22:50:30 +09:00
Alex Shinn
78e8a04dd6
Conditionally defining PRIoff for off_t printf.
...
Fixes issue #320 .
2016-04-09 20:09:57 +09:00
Alex Shinn
4599766346
use search path for image files
2016-03-13 15:25:42 +09:00
Alex Shinn
eed963381c
allow loading images from offsets
2016-03-13 09:08:41 +09:00
Alex Shinn
524179388d
making image save/load functions public
2016-03-08 23:13:16 +09:00
Alex Shinn
11ad0c3e3d
fixing boehm build, excluding image code when not used
2016-02-20 23:49:28 +09:00
Alex Shinn
8ff6d7f4b8
remove // comments, uneeded checks
2016-02-20 23:35:41 +09:00
Chris Walsh
bc82f836a3
Previous checkin incomplete - fixed omissions
2016-02-17 12:15:36 -05:00
Chris Walsh
948070eedc
Sorted heaps in memory order to allow for arbitrarily allocated heaps to be packed. Tests passing on Ubuntu now, which allocates memory top to bottom
2016-02-17 11:22:40 -05:00
Chris Walsh
9f10e3656c
Bit better error reporting
2016-02-16 12:10:28 -05:00
Chris Walsh
2005c19ea0
Added full support for packed images, both for static and dynamic libraries.
2016-02-15 21:12:58 -05:00