Menu

Code Commit Log


Commit Date  
[r397] by obarthel

- The printf() family stripped trailing zeroes from the integer part
of %g output. Fixed.

2006-01-02 13:23:33 Tree
[r396] by obarthel

- Added "factorial" test program for "%g" testing.

2006-01-02 13:11:39 Tree
[r395] by obarthel

- The __main() stub function expected by the 68k GCC build is no
longer part of "stdlib_main.c". This helps the C++ support, since the
__main symbol definition no longer clashes with the definition in
"libgcc.a".

2005-12-31 12:23:54 Tree
[r394] by obarthel

- Preparations for release.

2005-12-11 08:55:29 Tree
[r393] by obarthel

- Forgot to check in a file.

2005-11-28 10:11:07 Tree
[r392] by obarthel

- Added another function called __reset_max_mem_stats() which will reset the
counters for "maximum amount of memory used" and "maximum number of chunks
allocated" to the current figures for these values.

- Fixed the alloca() declaration in <stdlib.h> so that software which keys
off the fact whether or not the alloca preprocessor symbol is defined
will do the right thing.

- Added an optional call-back function which can be called if alloca()
is about to return NULL, which some software does not consider.
Rather than letting such software drop into an illegal memory access
or worse, that call-back function will be invoked instead, which can
print an error message and eventually call abort().

2005-11-28 09:53:51 Tree
[r391] by obarthel

- Fixed the header files I broke by mistake.

- You can now request that your program uses the clib2 alloca() function
rather than the built-in compiler alloca().

- alloca() is now part of libunix.a, too.

2005-11-27 10:28:16 Tree
[r390] by obarthel

- Added notes on where to find documentation and updates to each header file.

2005-11-27 09:51:45 Tree
[r389] by obarthel

- In libunix.a malloc(), calloc() and realloc() no longer treat a
request to allocate 0 bytes as an error, returning NULL. They all
return a pointer sized memory chunk (= four bytes) initialized to
NULL (= 0) instead.

- The alloca() implementation which allocates memory from the system
rather than the local stack frame is thread-safe now. It also
interacts with the realloc(), calloc(), free() and malloc() functions
in that the alloca() cleanup routine is called once alloca() has
done its job. If all the memory allocated through alloca() has been
released no further calls to the cleanup function will be made.

- In the thread-safe library, realloc() permitted two different overlapping
calls to succeed in trying to reallocate the same chunk of memory due to
a race condition. Fixed.

2005-11-27 09:26:55 Tree
[r388] by obarthel

- Moved the thread-safe library documentation.

- The malloc() in libunix.a now allocates four bytes of memory instead
of just one for a request to allocate 0 bytes.

2005-11-27 09:25:21 Tree
Older >
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.