github mirror github
github synced commits to development at github/amiga-clib2 from mirror 2023-09-11 16:11:43 +00:00
f5631d8bda The inner loop of the read operation already fills the buffer as far as it can go. No need to drop into "continue;".
github synced commits to development at github/amiga-clib2 from mirror 2023-09-10 15:41:44 +00:00
9a9ae7d6fd The SIGABRT handler can no longer invoke abort() recursively.
64ab8643b5 The size of a slab entry is now calculated inside a single local function, rather than calculated differently in different parts of stdlib_slab.c. This change made it easier to simplify the implementation.
f7fd63acb4 Indentation fix.
8bd7403ae3 The 'struct MemoryNode' is now so larger than the smallest usable allocation size is now 16 bytes.
5efacb1a2b Fix for unnecessary compiler warnings.
Compare 5 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-09 23:21:44 +00:00
7207c96a6f Made the slab allocator work with libunix.a again.
21bc996705 Fixed to make use of the aligned slab address when verifying that the slab node is present in the slab. The requested slab size is now properly rounded up to a power of 2 and will always be limited to a valid range.
438fd5bbd2 Fixed the MemoryNode padding, which was short of a 32 bit word.
101846e423 If the memory management system constructor fails, it now prints some diagnostic debug output.
Compare 4 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-09 15:11:45 +00:00
fba7f7da9b Small type corrections.
115099698a Added an assertion to verify that the first free chunk on the slab's list is really always available.
4f3d0c981c If the memory debug option is active, realloc() can no longer damage the trailing guard area.
Compare 3 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-08 14:41:45 +00:00
71708e84ce The memory debugging code now places the the damage detection areas which bracket the allocation area so that the originally requested allocation size is used, not the rounded-up size. Debug output in memory node checking no longer counts the non-breaking space character as unprintable.
3d70b18c23 Simplified how the slab allocator, the memory pool or AllocMem() are being used. Added robust integer overflow detection. Allocation sizes are now padded to a multiple of MEM_BLOCKSIZE. Repaired how the plain AllocMem() allocations are managed. alloca() cleanup is disabled during the stdlib_memory_exit destructor's work. The stdlib_memory_init constructor is more robust and now insists that exec.library V39+ uses memory pools.
842acf2eaa Updated to properly use the MemoryNode changes.
b9463f442b Added notes on calloc() being safe to use under certain circumstances if the number of elements or the element size happens to be 0. In effect, malloc() will decide what is going to happen.
7ceeb4f8ed If alloca() would end up returning a NULL pointer, it now invokes the default alloca trap function, which calls abort(). You can override this, if you need to.
Compare 10 commits »
github synced commits to development at github/amiga-clib2 from mirror 2023-09-06 13:41:48 +00:00
6197531c90 Added integer overflow checking for the element_size and count parameters.
b94937ff38 Fixed the bug which broke both fgets() and gets(): copying data from the FILE buffer failed to bump the destination string pointer. Also added an abort check in order to avoid turning the memcpy() operation into an uninterruptable sequence.
2cb54d48a9 Added the common function which both fputs() and puts() share now.
a7389454bb fputs() and puts() now share the same common code. Added abort checks in order to avoid turning the memcpy() operations into an uninterruptable sequence.
45d118101a Added assertion test for the buffer alignment padding size.
Compare 7 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-08-30 18:41:46 +00:00
606a65db79 Merge pull request #353 from BSzili/master
c4fab264b2 add doomsound.library sdk
Compare 2 commits »
github synced commits to master at github/amiga-gcc from mirror 2023-08-30 18:41:46 +00:00
606a65db79 Merge pull request #353 from BSzili/master
c4fab264b2 add doomsound.library sdk
Compare 2 commits »
github synced commits to master at github/docker-amiga-gcc from mirror 2023-08-03 14:31:42 +00:00
60f532fe14 Update toolchain files
24d0285808 Fix line endings in scripts
Compare 2 commits »
github synced commits to master at github/AROS-v0 from mirror 2023-07-17 13:51:44 +00:00
53eb573987 Adjust to changes in muimaster.library
github synced commits to alt-abiv0 at github/AROS-v0 from mirror 2023-07-17 13:51:43 +00:00
b38d9a0482 Backport: Adjust to changes in muimaster.library
4e384baf1c Other: Fix url for acpica
Compare 2 commits »
github synced commits to master at github/AROS-v0 from mirror 2023-07-16 13:21:44 +00:00
6363033906 Fix updated url
bb27797c0e Update URL for acpica
Compare 2 commits »
github synced commits to master at github/AROS-v0 from mirror 2023-07-03 13:51:43 +00:00
5747aed4c0 Fix for adding windows entry to grub
github synced commits to alt-abiv0 at github/AROS-v0 from mirror 2023-07-02 21:31:44 +00:00
1e843885c7 Backport: Fix for adding windows entry to grub
github synced commits to alt-abiv0 at github/AROS-v0 from mirror 2023-06-19 15:01:49 +00:00
7d6a0556a6 Backport: BoingIconBar 20230501
github synced commits to master at github/AROS-v0 from mirror 2023-06-19 15:01:49 +00:00
2c545d2c4e Let it exit by CTRL-C signals.
github synced commits to master at github/amiga-gcc from mirror 2023-06-03 15:03:33 +00:00
bc30b937cd Merge pull request #352 from TheFakeMontyOnTheRun/TheFakeMontyOnTheRun-patch-1
c97330e108 Update README.md to include warning about Make version on MacOS
Compare 2 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-06-03 15:03:32 +00:00
bc30b937cd Merge pull request #352 from TheFakeMontyOnTheRun/TheFakeMontyOnTheRun-patch-1
c97330e108 Update README.md to include warning about Make version on MacOS
Compare 2 commits »
github synced commits to master at github/amiga-gcc from mirror 2023-05-24 18:13:39 +00:00
f10c22508f Merge pull request #344 from BSzili/master
0911c28b72 generate vbcc inline headers
Compare 2 commits »
github synced commits to devel1 at github/amiga-gcc from mirror 2023-05-24 18:13:37 +00:00
f10c22508f Merge pull request #344 from BSzili/master
0911c28b72 generate vbcc inline headers
Compare 2 commits »