0
I Use This!
Inactive

Commits : Listings

Analyzed 1 day ago. based on code collected 1 day ago.
Apr 23, 2023 — Apr 23, 2024
Commit Message Contributor Files Modified Lines Added Lines Removed Code Location Date
Merge the stuff in parse_size.c into options.c. More... over 14 years ago
Start on an autotools based build system. More... over 14 years ago
Move source code to a src/ folder. More... over 14 years ago
Use posix_fallocate instead of ftruncate. ftruncate does not do what I assumed it would, which the other function does. More... over 14 years ago
Remove testing code. More... over 14 years ago
Refactor a bit. More... over 14 years ago
Fix compilation. More... over 14 years ago
Change the suffix testing in parse_size to look for strings instead of single characters. By doing this, it will catch things like "1ka", which would previsously have been accepted as "1k". More... over 14 years ago
Rename parse.{c,h} to parse_size.{c,h}. More... over 14 years ago
Fix the check for force in allocate. More... over 14 years ago
Pass fallocate_options.force as an argument to allocate, instead of allocate using fallocate_options directly. More... over 14 years ago
Rename 'multiply' to 'checked_multiply'. More... over 14 years ago
Mention the possible OPTIONS in the usage message. More... almost 15 years ago
Add an option, 'n', to 'not force' the operation (the opposite to 'f') More... almost 15 years ago
Also remove $(TEST_OBJS) in the 'clean' target. More... almost 15 years ago
Add support for specifying options. The new syntax is. More... almost 15 years ago
Make 'multiply_by_1024' static. More... almost 15 years ago
Fix some 'printf' calls to use "%lld" instead of "%d". More... almost 15 years ago
In 'parse_size', check that the size does not overflow when taking the suffix into account. More... almost 15 years ago
Add header dependencies to the object files. More... almost 15 years ago
Add test for " " (a space). More... almost 15 years ago
Break out 'parse_size' to parse.{c,h}, and add 'testing.c' for testing the function. More... almost 15 years ago
Now that 'allocate' returns -1 instead of 1 on error, 'main' should not return the same value; so change main to return 1 instead. More... almost 15 years ago
Change some functions to return -1 instead of 1 on error, to be more consistent with other functions. More... almost 15 years ago
Initial revision. The program works, but the code could be made nicer. More... almost 15 years ago