Revision: 14543
Author: adrian.chadd
Date: Mon Apr 5 20:00:59 2010
Log: Issue #94 - even though COSS doesn't yet work under Windows because of
asyncio library
related issues, the rebuild process SHOULD treat the file as binary.
http://code.google.com/p/lusca-cache/source/detail?r=14543
Modified:
/branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c
=======================================
--- /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c Fri Mar 26 06:11:29
2010
+++ /branches/LUSCA_HEAD/app/coss_newfs/coss_newfs.c Mon Apr 5 20:00:59
2010
@@ -54,7 +54,7 @@
* -should- be enough to trick the rebuild process into treating
* the rest of that stripe as empty.
*/
- fd = open(path, O_WRONLY | O_CREAT, 0644);
+ fd = open(path, O_WRONLY | O_CREAT | O_BINARY, 0644);
if (fd < 0) {
perror("open");
exit(127);
--
You received this message because you are subscribed to the Google Groups
"lusca-commit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/lusca-commit?hl=en.