New repository commit
New CMakeLists.txt and documentation added to repository
Deleted temp file
Changes with make targets, added free_data procedure
Regular commit
This branch ends with unfinished code at piu and frontend directories.
Security commit
Changed function naming style. Now all functions, except the ones from the errors module are named without underscores.
"writepiu()" function actually just writting the header. Not tested
.
Fixed bug in savetofile(): Didn't give read and write access to the user. Fixed bug in writepiu(): It was needed to unlink/delete the original file.
Fixed bug in openpiufile(): It wasn't copying sizes info from readbuffer to array of DATA structures, filedata.
Now piuextract creates directories when needed
Fixed bug in add.c: "../" and "/" were not being deleted at file addition. Now it does.
Now if piuadd cannot find the piufile, it creates a new one.
rmparentpathname() now erases more than the first "../" characters.
addfile() now uses rmparentpathname()
listallfiles() - stores in an array of strings containing the relative
paths to the files inside the directory given.
listallfiles(): Has been rewritten.
piuadd: Now uses listallfiles() in order to get files from a directory
passed as argument.
Added --version option to all command line frontends.
Fixed bug in piuadd: When adding a directory with a final slash '/' it
was adding another one. Now piuadd only adds that extra slash if the
directory doesn't have one.

Fixed bug in piuadd: The variable used for iterate over the list of
files to be processed was of type int, instead of type unsigned long.
Easy risk of integer overflow avoided.
extract.c was not tracked by git. shit.