--- pavuk-0.9.35.old/src/tools.c 2008-07-22 17:35:54 +0000 +++ pavuk-0.9.35/src/tools.c 2008-12-08 20:04:51 +0000 @@ -1726,7 +1726,7 @@ if(length < 0) length = strlen(content); - if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC), 0644) < 0) + if((fd = open(filename, O_WRONLY | O_BINARY | O_CREAT | O_TRUNC, 0644)) < 0) { xperror(filename); return -1;