Menu

Code Commit Log


Commit Date  
[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
[r387] by obarthel

- Corrected the section numbering.

2005-11-20 20:04:47 Tree
[r386] by obarthel

- Fixed the remaining HTML errors.

2005-11-20 19:56:58 Tree
[r385] by obarthel

- Changed the assertion message text shown in the requester window.

- The standard malloc() now sets errno to EINVAL for zero length
allocations.

2005-11-20 19:04:10 Tree
[r384] by obarthel

- Updated the general documentation and started to document the implementation-specific
behaviour of the library functions.

2005-11-20 19:02:44 Tree
[r383] 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 1 byte memory chunk initialized to 0 instead.

2005-11-20 17:00:22 Tree
[r382] by obarthel

- Replaced the sqrt() call.

2005-11-19 17:17:47 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.