Revision: 14515
Author: adrian.chadd
Date: Tue Mar 30 19:57:30 2010
Log: Issue #94 - references to fatalf() outside of src/ aren't valid!


http://code.google.com/p/lusca-cache/source/detail?r=14515

Modified:
 /branches/LUSCA_HEAD/libiapp/fd.c

=======================================
--- /branches/LUSCA_HEAD/libiapp/fd.c   Wed Mar 24 20:34:17 2010
+++ /branches/LUSCA_HEAD/libiapp/fd.c   Tue Mar 30 19:57:30 2010
@@ -217,7 +217,7 @@
        F->write_method = &file_write_method;
        break;
     default:
- fatalf("fd_open(): unknown FD type - FD#: %i, type: %u, desc %s\n", fd, type, desc); + libcore_fatalf("fd_open(): unknown FD type - FD#: %i, type: %u, desc %s\n", fd, type, desc);
     }
 #else
     F->read_method = &default_read_method;
@@ -336,7 +336,7 @@
     /* XXX this needs to be restored as soon a possible! -adrian */
 #if 0
     if (Squid_MaxFD - new < XMIN(256, Squid_MaxFD / 2))
- fatalf("Too few filedescriptors available in the system (%d usable of %d).\n", Squid_MaxFD - new, Squid_MaxFD); + libcore_fatalf("Too few filedescriptors available in the system (%d usable of %d).\n", Squid_MaxFD - new, Squid_MaxFD);
 #endif
     debug(51, 0) ("Reserved FD adjusted from %d to %d due to failures\n",
        RESERVED_FD, new);

--
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.

Reply via email to