read-ahead turn off, cfg file, minor adjustments

git-svn-id: file:///home/notaz/opt/svn/PicoDrive@399 be3aeb3a-fb24-0410-a615-afba39da0efa
This commit is contained in:
notaz 2008-03-27 22:42:54 +00:00
parent d6114368e1
commit 2d2247c260
10 changed files with 186 additions and 57 deletions

View file

@ -137,6 +137,9 @@ zip_failed:
if (f == NULL)
goto cso_failed;
/* we use our own buffering */
setvbuf(f, NULL, _IONBF, 0);
cso = malloc(sizeof(*cso));
if (cso == NULL)
goto cso_failed;