google-code-export / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

ufs_rebuild: set binary mode on file i/o #101

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Sorry for a little mess, but we *really* need this to rebuild cache
successfully.

And Lusca is now usable for me! Yeah!

Original issue reported on code.google.com by radiant@aol.jp on 3 Apr 2010 at 1:38

Attachments:

GoogleCodeExporter commented 9 years ago
I've added the binary open/fopen flag; but setmode() under UNIX does something
different to setmode() under Windows.

Would you please provide me a link to documentation for setmode() under
Windows/Cygwin so I can make sure it's being done correctly?

Thanks!

Original comment by adrian.c...@gmail.com on 3 Apr 2010 at 6:07

GoogleCodeExporter commented 9 years ago
I just committed the setmode() patch to LUSCA_HEAD r14533. Let me know if that 
works
for you!

Original comment by adrian.c...@gmail.com on 3 Apr 2010 at 6:50

GoogleCodeExporter commented 9 years ago
Thanks for committing. It works, but _SQUID_WIN32_ seems more appropriate.
(dns_internal.c is also changed.)

Original comment by radiant@aol.jp on 3 Apr 2010 at 9:02

Attachments:

GoogleCodeExporter commented 9 years ago
Fixed in r14554.

Original comment by adrian.c...@gmail.com on 6 Apr 2010 at 11:32