> read(stream) and write(stream) under Cygwin work as text > functions instead of binary ones - expand LF to CRLF ? > How to override this?
I've added "|O_BINARY" to freshclam/manager.c[472]: if((fd = open(file, O_WRONLY|O_CREAT|O_EXCL|O_BINARY, 0644)) == -1) { and now freshclam.exe works right. ------------------------------------------------------- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users