#
-# "$Id: Makedefs.in,v 1.35 2001/02/20 17:32:58 mike Exp $"
+# "$Id: Makedefs.in,v 1.36 2001/03/01 18:10:40 mike Exp $"
#
# Common makefile definitions for the Common UNIX Printing System (CUPS).
#
#
.SILENT:
-.SUFFIXES: .a .c .cxx .h .man .o .0 .1 .5 .8 .z
+.SUFFIXES: .a .c .cxx .h .man .o .0 .1 .1m .5 .8 .z
.c.o:
echo Compiling $<...
$(CC) $(OPTIM) $(CFLAGS) -c $<
.cxx.o:
echo Compiling $<...
$(CXX) $(OPTIM) $(CXXFLAGS) -c $<
-.man.0 .man.1 .man.5 .man.8:
+.man.0 .man.1 .man.1m .man.5 .man.8:
echo Formatting $<...
$(RM) $@
$(NROFF) -man $< >$@
$(MV) t.z $@
#
-# End of "$Id: Makedefs.in,v 1.35 2001/02/20 17:32:58 mike Exp $"
+# End of "$Id: Makedefs.in,v 1.36 2001/03/01 18:10:40 mike Exp $"
#
/*
- * "$Id: client.c,v 1.88 2001/02/23 01:15:15 mike Exp $"
+ * "$Id: client.c,v 1.89 2001/03/01 18:10:41 mike Exp $"
*
* Client routines for the Common UNIX Printing System (CUPS) scheduler.
*
if (con->http.fd > 0)
{
- LogMessage(L_DEBUG2, "CloseClient: Removing fd %d from InputSet...",
+ LogMessage(L_DEBUG2, "CloseClient: Removing fd %d from InputSet and OutputSet...",
con->http.fd);
close(con->http.fd);
FD_CLR(con->http.fd, &InputSet);
LogMessage(L_DEBUG2, "CloseClient() %d Closing data file %d.",
con->http.fd, con->file);
+ LogMessage(L_DEBUG2, "CloseClient() %d Removing fd %d from InputSet.",
+ con->http.fd, con->file);
FD_CLR(con->file, &InputSet);
close(con->file);
fcntl(con->file, F_SETFD, fcntl(con->file, F_GETFD) | FD_CLOEXEC);
LogMessage(L_DEBUG2, "SendCommand: Adding fd %d to InputSet...", con->file);
+ LogMessage(L_DEBUG2, "SendCommand: Adding fd %d to OutputSet...",
+ con->http.fd);
+
FD_SET(con->file, &InputSet);
FD_SET(con->http.fd, &OutputSet);
if (httpPrintf(HTTP(con), "\r\n") < 0)
return (0);
+ LogMessage(L_DEBUG2, "SendFile: Adding fd %d to OutputSet...", con->http.fd);
+
FD_SET(con->http.fd, &OutputSet);
return (1);
con->http.state = HTTP_WAITING;
+ LogMessage(L_DEBUG2, "WriteClient() Removing fd %d from OutputSet...",
+ con->http.fd);
+
FD_CLR(con->http.fd, &OutputSet);
if (con->file)
/*
- * End of "$Id: client.c,v 1.88 2001/02/23 01:15:15 mike Exp $".
+ * End of "$Id: client.c,v 1.89 2001/03/01 18:10:41 mike Exp $".
*/