Age | Commit message (Collapse) | Author | Files | Lines |
|
There wasn't much to check for, but I checked for what I could think of.
|
|
I chose to implement calloc() by calling malloc.
This exercise went well, but I found it difficult to verify the contents
of the headers and buffers within memory. Valgrind showed the correct
number of bytes allocated, and a memory dump pointed to a good
result, but research was not conclusive.
|
|
This exercise uses the standard library instead of the homegrown
dirent.h outlined in the book. This is due to misbehavior in outputting
the file or directory names. This pointed to a data mismatch between the
data model supplied by the book and the data model actually used by my
operating system (GNU/Linux).
|
|
|
|
|
|
The refactor includes implementations for fflush and fclose as well,
needed in 8-03.
|
|
|
|
|
|
|
|
|