Revision: 14554 Author: adrian.chadd Date: Tue Apr 6 16:31:56 2010 Log: Issue #101 - fix setmode() calls to occur "right" for windows
http://code.google.com/p/lusca-cache/source/detail?r=14554 Modified: /branches/LUSCA_HEAD/src/dns_internal.c ======================================= --- /branches/LUSCA_HEAD/src/dns_internal.c Sat Mar 20 02:58:36 2010 +++ /branches/LUSCA_HEAD/src/dns_internal.c Tue Apr 6 16:31:56 2010 @@ -85,7 +85,7 @@ debug(78, 1) ("%s: %s\n", _PATH_RESCONF, xstrerror()); return; } -#if defined(_SQUID_CYGWIN_) +#if defined(_SQUID_WIN32_) setmode(fileno(fp), O_TEXT); #endif while (fgets(buf, RESOLV_BUFSZ, fp)) { -- 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.
